]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
bnx2x: Calling netif_carrier_off at the end of the probe
authorEilon Greenstein <eilong@broadcom.com>
Tue, 4 Nov 2008 00:46:40 +0000 (16:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2008 00:46:40 +0000 (16:46 -0800)
commit12b56ea89e70d4b04f2f5199750310e82894ebbd
tree80ec95e06b2b3cf93b18ea8f8b5da3ee79a72087
parent7d96567ac0527703cf1b80043fc0ebd7f21a10ad
bnx2x: Calling netif_carrier_off at the end of the probe

netif_carrier_off was called too early at the probe. In case of failure
or simply bad timing, this can cause a fatal error since linkwatch_event
might run too soon.

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c