]> err.no Git - linux-2.6/commit
[PATCH] b44: check link state during open
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Jun 2005 19:11:57 +0000 (15:11 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 27 Jun 2005 04:46:40 +0000 (00:46 -0400)
commite254e9bff5283aad1af6d74d2a312ee011b84d61
tree7b87098577463bca2576d3cabe20360122c4ba84
parent1fe2cb32763457a829d33b38ec117ffe5c98e045
[PATCH] b44: check link state during open

Check the link state during b44_open.  This closes a 1 HZ window
that existed after b44_open ran but before the b44_timer handler ran,
during which ethtool would report "Link detected: yes" no matter what
the link state actually was.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/b44.c