Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279448
b: refs/heads/master
c: f6e8cb7
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Jan 4, 2012
1 parent 8f1eabd commit 4acd9b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b156579b1404871d97d2713c1f93c9526618e3ba
refs/heads/master: f6e8cb72ad4b0381d79df4575ec1f5c5df2e73b9
4 changes: 3 additions & 1 deletion trunk/net/mac80211/offchannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ void ieee80211_offchannel_return(struct ieee80211_local *local,

mutex_lock(&local->iflist_mtx);
list_for_each_entry(sdata, &local->interfaces, list) {
if (sdata->vif.type != NL80211_IFTYPE_MONITOR)
clear_bit(SDATA_STATE_OFFCHANNEL, &sdata->state);

if (!ieee80211_sdata_running(sdata))
continue;

Expand All @@ -173,7 +176,6 @@ void ieee80211_offchannel_return(struct ieee80211_local *local,
}

if (sdata->vif.type != NL80211_IFTYPE_MONITOR) {
clear_bit(SDATA_STATE_OFFCHANNEL, &sdata->state);
/*
* This may wake up queues even though the driver
* currently has them stopped. This is not very
Expand Down

0 comments on commit 4acd9b7

Please sign in to comment.