]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: abort scan_work immediately when the device goes down
authorRajkumar Manoharan <rmanoharan@atheros.com>
Sat, 14 May 2011 04:13:28 +0000 (09:43 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 May 2011 18:25:29 +0000 (14:25 -0400)
commited5f1de27491f8f918e35f09085362488c40fd8e
treef64976bf10ade80e6ceb39f917f6741b575ee301
parent11d253494b1e54f675a76e646d713b34ecc23dea
mac80211: abort scan_work immediately when the device goes down

As long as no delay is required b/w channel change, scan work
is proceeding without scheduling a new work. In such case, we
can not abort scan work when the card was unplugged. This patch
completes the scanning immediately whenever the device goes down.

Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c
net/mac80211/scan.c