diff options
author | Ivan Vecera <ivecera@redhat.com> | 2011-02-15 02:08:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-17 14:09:57 -0800 |
commit | 0d672e9f8ac320c6d1ea9103db6df7f99ea20361 (patch) | |
tree | fb5c67e5bb769601fc7f762b7e86e10f9b7aa30e /drivers/net/s2io.c | |
parent | c600636bd560b04973174caa5e349a72bce51637 (diff) |
drivers/net: Call netif_carrier_off at the end of the probe
Without calling of netif_carrier_off at the end of the probe the operstate
is unknown when the device is initially opened. By default the carrier is
on so when the device is opened and netif_carrier_on is called the link
watch event is not fired and operstate remains zero (unknown).
This patch fixes this behavior in forcedeth and r8169.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/s2io.c')
0 files changed, 0 insertions, 0 deletions