wil6210: fix a warning message condition
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Dec 2015 11:10:00 +0000 (14:10 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Dec 2015 13:25:13 +0000 (15:25 +0200)
commitf94c48d6c315a580b60b062c0360561b61faa311
tree354e6a28a6465556ab5fff3537ba94387f4ec1d8
parent5c352bf0880655e3a782f55a86fb172542c19a00
wil6210: fix a warning message condition

"iter" is -1 at the end of the loop and not zero.  It means we don't
print a warning message.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/main.c