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
..
2009-02-11 11:44:27 -05:00
2009-02-09 15:03:32 -05:00
2009-02-13 13:44:13 -05:00
2009-02-13 13:44:13 -05:00
2009-02-11 11:44:27 -05:00
2009-02-09 15:03:32 -05:00
2009-02-09 15:03:32 -05:00
2009-02-11 11:44:27 -05:00
2009-02-09 15:03:32 -05:00
2009-02-11 11:44:27 -05:00
2009-02-11 11:44:27 -05:00