summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2009-04-10 03:41:05 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-04-16 16:39:17 +0200
commit91fe9ca74e8220f17e2fa71a92cda330857daac4 (patch)
tree314ba52fbd244015f0e8ce2864c1c2b7117e29c0 /drivers/net/wireless/p54
parentmac80211: Fragmentation threshold (typo) (diff)
downloadlinux-91fe9ca74e8220f17e2fa71a92cda330857daac4.tar.xz
linux-91fe9ca74e8220f17e2fa71a92cda330857daac4.zip
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>
Diffstat (limited to 'drivers/net/wireless/p54')
0 files changed, 0 insertions, 0 deletions