cfg80211: add cfg80211_sched_scan_stopped_rtnl
authorEliad Peller <eliad@wizery.com>
Wed, 30 Apr 2014 13:14:23 +0000 (16:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:10 +0000 (10:28 -0700)
commit853487c377bee8175103a85bb00b8d9385bd4359
tree7decc81f65a0dddcc875083e777a614984d80244
parent9b36bd2727bac870fa3a4cba856af3a85af55410
cfg80211: add cfg80211_sched_scan_stopped_rtnl

commit 792e6aa7a15ea0fb16f8687e93caede1ea9118c7 upstream.

Add locked-version for cfg80211_sched_scan_stopped.
This is used for some users that might want to
call it when rtnl is already locked.

Fixes: d43c6b6 ("mac80211: reschedule sched scan after HW restart")
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/cfg80211.h
net/wireless/scan.c