libertas: don't retry commands
authorHolger Schurig <holgerschurig@gmail.com>
Thu, 4 Feb 2010 13:37:45 +0000 (14:37 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:50:56 +0000 (16:50 -0500)
commit40e6fa829a2544c9f8fd5a94844fe502334d6afc
treea6278d89caa2c3c104369d5be400c4c64092bb05
parent85359499eec796e784e2f1e3d7bbb31d84dd4c2b
libertas: don't retry commands

Retrying commands seldomly works, most often the firmware is in a
weird state anyway and needs the device to reset. So it's better
to report the broken state back to user-space.

Also rename command_timer_fn() into lbs_cmd_timeout_handler(),
which better reflect it's usage.

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmdresp.c
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/main.c