ipw2100: fix postfix decrement errors
authorRoel Kluin <12o3l@tiscali.nl>
Mon, 5 Nov 2007 22:55:02 +0000 (23:55 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 10 Nov 2007 09:25:12 +0000 (04:25 -0500)
commita2a1c3eb4029aa7f17533fe7e9a917a7b3349644
treec1680a1f829e27c9815241f0e702d0bf2fdce4c6
parent2493d8e4166fa75ccb8e49fdd000f9ef67e570ae
ipw2100: fix postfix decrement errors

If i reaches zero, the loop ends, but the postfix decrement subtracts it to -1.
Testing for 'i == 0', later in the function, will not fulfill its purpose.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2100.c