]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: compete scan to cfg80211 if deferred scan fail to start
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 6 Oct 2010 09:22:12 +0000 (11:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Oct 2010 20:30:42 +0000 (16:30 -0400)
commite9dd31b445af2c89470a10cbf2039a6c995ded71
tree28b3a316332cc35bf69461e76415052de8d53d3f
parent1c7596d75009ea92f351f48be2df0abfdb365940
mac80211: compete scan to cfg80211 if deferred scan fail to start

We nulify local->scan_req on failure in __ieee80211_start_scan, so
__ieee80211_scan_completed will not call cfg80211_scan_done. Fix that.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/scan.c