]> git.hungrycats.org Git - linux/commit
staging: vt6655: Fix disassociated messages every 10 seconds
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 23 Jul 2014 20:35:12 +0000 (21:35 +0100)
committerJiri Slaby <jslaby@suse.cz>
Tue, 19 Aug 2014 12:23:35 +0000 (14:23 +0200)
commit0a5d8d71f528efeeffa3415fb61846e6f18541ae
treecf65f9cc0d570a6543081a62cd25fc16875177f2
parent5f24f2a63160e8bc5f12bc2d786048d5ce2f49cb
staging: vt6655: Fix disassociated messages every 10 seconds

commit 4aa0abed3a2a11b7d71ad560c1a3e7631c5a31cd upstream.

byReAssocCount is incremented every second resulting in
disassociated message being send every 10 seconds whether
connection or not.

byReAssocCount should only advance while eCommandState
is in WLAN_ASSOCIATE_WAIT

Change existing scope to if condition.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/staging/vt6655/bssdb.c