aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorPavel Roskin <[email protected]>2009-04-09 21:41:05 -0400
committerJohn W. Linville <[email protected]>2009-04-16 10:39:17 -0400
commit91fe9ca74e8220f17e2fa71a92cda330857daac4 (patch)
tree314ba52fbd244015f0e8ce2864c1c2b7117e29c0 /net/lapb/lapb_iface.c
parent23a99840d571a237845fd0906bce78e7c76be650 (diff)
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 <[email protected]> Signed-off-by: Pavel Roskin <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions