diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2010-02-04 14:37:45 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-08 16:50:56 -0500 |
commit | 40e6fa829a2544c9f8fd5a94844fe502334d6afc (patch) | |
tree | a6278d89caa2c3c104369d5be400c4c64092bb05 /drivers/net/wireless/libertas/dev.h | |
parent | 85359499eec796e784e2f1e3d7bbb31d84dd4c2b (diff) | |
download | blackbird-op-linux-40e6fa829a2544c9f8fd5a94844fe502334d6afc.tar.gz blackbird-op-linux-40e6fa829a2544c9f8fd5a94844fe502334d6afc.zip |
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>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index d5a9dcae4059..efb2519d9d74 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h @@ -109,7 +109,6 @@ struct lbs_private { struct list_head cmdpendingq; /* pending command buffers */ wait_queue_head_t cmd_pending; struct timer_list command_timer; - int nr_retries; int cmd_timed_out; /* Command responses sent from the hardware to the driver */ |