libertas: submit RSSI command on tx timeout, to check whether module is dead
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 18 Dec 2007 00:22:40 +0000 (19:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:46 +0000 (15:07 -0800)
commit354eca9820f1efbf11978585640f1b2e92d4c5b4
tree6898a89c5ebd85f6bdaa38d660daa36c48930096
parent18c52e7c3e3d0e7fbddd0334b58030bb89554cb9
libertas: submit RSSI command on tx timeout, to check whether module is dead

We don't necessarily want to reset the device on a TX timeout. But more
often than not, the real cause is that the firmware has crapped itself,
not just that the network is busy. So submit any harmless command, and
if _that_ times out, then the error handling code will reset the module,
as appropriate.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c