]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: mark no sched scan only after FW event
authorEyal Shapira <eyal@wizery.com>
Tue, 20 Dec 2011 12:55:38 +0000 (14:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 20 Dec 2011 20:30:16 +0000 (22:30 +0200)
commite744b12176e3f26b8bbf62b5f19301af1204fcc4
tree17e428e7f057f005484613fa2407a78a4e172968
parent54f41680ca782c98782bfc1d95b74e6dfa04aefd
wl12xx: mark no sched scan only after FW event

stop sched scan isn't an immediate operation
and we need to wait for PERIODIC_SCAN_COMPLETE_EVENT_ID
after sending a stop before changing internal state
and notifying upper layers.
Not doing this caused problems when canceling an existing sched
scan and immediately requesting to start a new one
with a different configuration as the FW was still
in the middle of the previous sched scan.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/event.c
drivers/net/wireless/wl12xx/scan.c