Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Conflicts: drivers/net/wireless/ath/carl9170/debug.c drivers/net/wireless/ath/carl9170/main.c net/mac80211/ieee80211_i.h
This commit is contained in:
@@ -445,15 +445,15 @@ void ieee80211_roc_setup(struct ieee80211_local *local)
|
||||
INIT_LIST_HEAD(&local->roc_list);
|
||||
}
|
||||
|
||||
void ieee80211_roc_purge(struct ieee80211_sub_if_data *sdata)
|
||||
void ieee80211_roc_purge(struct ieee80211_local *local,
|
||||
struct ieee80211_sub_if_data *sdata)
|
||||
{
|
||||
struct ieee80211_local *local = sdata->local;
|
||||
struct ieee80211_roc_work *roc, *tmp;
|
||||
LIST_HEAD(tmp_list);
|
||||
|
||||
mutex_lock(&local->mtx);
|
||||
list_for_each_entry_safe(roc, tmp, &local->roc_list, list) {
|
||||
if (roc->sdata != sdata)
|
||||
if (sdata && roc->sdata != sdata)
|
||||
continue;
|
||||
|
||||
if (roc->started && local->ops->remain_on_channel) {
|
||||
|
||||
Reference in New Issue
Block a user