android_kernel_xiaomi_sm8350/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
fw.c
fw.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hermes.c
hermes.h
hw.c orinoco: correct timeout logic in __orinoco_hw_set_tkip_key() 2009-04-16 10:39:17 -04:00
hw.h
Kconfig
main.c
main.h
Makefile
mic.c
mic.h
orinoco_cs.c
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
orinoco.h
scan.c
scan.h
spectrum_cs.c
wext.c
wext.h