summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-08-30 15:12:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-08-31 15:20:45 -0400
commit18145c69349f2ab60c470798f83b3a2639e2a8d9 (patch)
tree459b583796289d587b21eb3390f5a09eb09a52de /include/linux/spi
parentcd35a3912188d006f251fff1028d84e1d1649ca2 (diff)
mac80211: cancel scan in ieee80211_restart_hw if software scan pending
This function exists to clean-up after a hardware error or something similar. The restart is accomplished using the same infrastructure used to resume after a suspend. The suspend path cancels running scans, so it seems appropriate to do that here as well for software-based scans. If a hardware-based scan is pending, issue a warning message since this indicates that the drivers has failed to clean-up after itself. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/spi')
0 files changed, 0 insertions, 0 deletions