]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: only cancel software-based scans on suspend
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Sep 2010 20:12:28 +0000 (16:12 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Sep 2010 20:12:28 +0000 (16:12 -0400)
commit63db574846788afb370cf6e49861db6e8a7d6c7c
treec2aec95a5b7315cc7e5bff44a28eb26d045d64e5
parentf12e2fe7be222d2e7663e0ccbd80ed8fab0f3a1b
mac80211: only cancel software-based scans on suspend

Otherwise the hardware scan handler could access an invalid scan request
structure.  The driver should cancel any pending hardware scans during
the suspend process anyway, so also add a warning if the hardware scan
is still pending when the device resumes.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/pm.c