wireless, wavelan: spin off by 1
commitb837e606d17a765f404175ae42a15ce17631e7d2
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 25 Feb 2009 12:35:34 +0000 (25 13:35 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:31 +0000 (5 14:39 -0500)
tree40ad7f04db09e0dd9a6673ba22fdba19d1c97c54
parentfa09632b0277aa43c6f37161f0a592a1a5b2167d
wireless, wavelan: spin off by 1

spin can reach -1 after the loop, so 0 is still success.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wavelan_cs.c