]> git.baikalelectronics.ru Git - kernel.git/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)
commit4dd7a032e432c9002c376d6bf87e37b754216594
tree7b87098577463bca2576d3cabe20360122c4ba84
parent1213d129a1bae073e055e482c30466877f55e0c5
[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