mac80211: allow driver to return error from sched_scan_stop
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 Feb 2014 09:48:17 +0000 (10:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 20 Feb 2014 15:09:54 +0000 (16:09 +0100)
commit37e3308cb2b6933019d9d9c2045877d6d68d9c5a
treed9b71804d022a78a65f55d1b6dce4012cd4ee97b
parentd9b8396a52b4e857263eeb9e1eba474ea11c19bf
mac80211: allow driver to return error from sched_scan_stop

In order to solve races with sched_scan_stop, it is necessary
for the driver to be able to return an error to propagate that
to cfg80211 so it doesn't send an event.

Reviewed-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/ti/wlcore/main.c
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/scan.c