mac80211: remove unneeded ieee80211_run_deferred_scan()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jun 2012 09:34:18 +0000 (11:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jun 2012 15:01:17 +0000 (17:01 +0200)
commitcef28271be62e672637f1ba2a019a5a9a981eb2d
treeadac86044e382aa5acd2782fe9b4c0ee000bd0e6
parenta4f606ea73d56d15f28653d2242e54d58bb612e5
mac80211: remove unneeded ieee80211_run_deferred_scan()

Ilan pointed out to me that ieee80211_start_next_roc()
already calls ieee80211_run_deferred_scan() if the list
of ROC items is empty, so there's no need to call it
again after calling ieee80211_start_next_roc().

Reported-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/offchannel.c