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)
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>

No differences found