linux/drivers/net/wireless/orinoco
Pavel Roskin 91fe9ca74e orinoco: correct timeout logic in __orinoco_hw_set_tkip_key()
If the value read from HERMES_RID_TXQUEUEEMPTY becomes 0 after exactly
100 readings, we wrongly consider it a timeout.  Rewrite the clever
while loop as a for loop that does the right thing and looks simpler.

Reported by Juha Leppanen <juha_motorsportcom@luukku.com>

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-04-16 10:39:17 -04:00
..
airport.c orinoco: Rename orinoco.c 2009-02-11 11:44:27 -05:00
fw.c orinoco: firmware: consistently compile out fw cache support if not requested 2009-03-16 18:09:26 -04:00
fw.h orinoco: firmware: consistently compile out fw cache support if not requested 2009-03-16 18:09:26 -04:00
hermes.c orinoco: hermes doesn't need to be a separate module 2009-02-13 13:44:37 -05:00
hermes.h
hermes_dld.c orinoco: prevent accessing memory outside the firmware image 2009-02-27 14:53:02 -05:00
hermes_dld.h orinoco: prevent accessing memory outside the firmware image 2009-02-27 14:53:02 -05:00
hermes_rid.h
hw.c orinoco: correct timeout logic in __orinoco_hw_set_tkip_key() 2009-04-16 10:39:17 -04:00
hw.h orinoco: Move hardware functions into separate file 2009-02-13 13:44:31 -05:00
Kconfig
main.c orinoco: firmware: consistently compile out fw cache support if not requested 2009-03-16 18:09:26 -04:00
main.h orinoco: Move WEXT handlers into a separate file 2009-02-13 13:44:33 -05:00
Makefile orinoco: hermes doesn't need to be a separate module 2009-02-13 13:44:37 -05:00
mic.c orinoco: Move MIC helpers into new file 2009-02-13 13:44:13 -05:00
mic.h orinoco: Move MIC helpers into new file 2009-02-13 13:44:13 -05:00
orinoco.h orinoco: firmware: consistently compile out fw cache support if not requested 2009-03-16 18:09:26 -04:00
orinoco_cs.c orinoco: Rename orinoco.c 2009-02-11 11:44:27 -05:00
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h orinoco: Rename orinoco.c 2009-02-11 11:44:27 -05:00
orinoco_plx.c
orinoco_tmd.c orinoco: Rename orinoco.c 2009-02-11 11:44:27 -05:00
scan.c orinoco: Move scan helpers to a separate file 2009-02-11 11:44:28 -05:00
scan.h orinoco: Move scan helpers to a separate file 2009-02-11 11:44:28 -05:00
spectrum_cs.c orinoco: Rename orinoco.c 2009-02-11 11:44:27 -05:00
wext.c orinoco: Move WEXT handlers into a separate file 2009-02-13 13:44:33 -05:00
wext.h orinoco: Move WEXT handlers into a separate file 2009-02-13 13:44:33 -05:00