mac80211: add some ibss related fixes from linux-wireless@
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 301-mac80211_tx_queue_wake.patch
1 --- a/net/mac80211/offchannel.c
2 +++ b/net/mac80211/offchannel.c
3 @@ -153,9 +153,11 @@ void ieee80211_offchannel_return(struct
4 if (sdata->vif.type == NL80211_IFTYPE_STATION) {
5 if (sdata->u.mgd.associated)
6 ieee80211_offchannel_ps_disable(sdata);
7 - netif_tx_wake_all_queues(sdata->dev);
8 }
9
10 + if (sdata->vif.type != NL80211_IFTYPE_MONITOR)
11 + netif_tx_wake_all_queues(sdata->dev);
12 +
13 /* re-enable beaconing */
14 if (enable_beaconing &&
15 (sdata->vif.type == NL80211_IFTYPE_AP ||