qlge: Fix carrier on condition.
authorRon Mercer <ron.mercer@qlogic.com>
Thu, 2 Jul 2009 06:06:08 +0000 (06:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jul 2009 02:10:26 +0000 (19:10 -0700)
commit8b007de19026e91991ae70ca0def31c42435e008
tree90826a6d96f9a2321e6089532a4522bbde131693
parenta5f59dc926844bf95be2261c1bb0a24597b7a8c5
qlge: Fix carrier on condition.

We were turning on the carrier without verifying the link was up.
This adds link up to the link initialize check before turning carrier
on.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c