diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-09-26 12:53:54 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-09-26 12:53:54 +0000 |
commit | 60eec72adbbe6d8e45a6a5a6b4d25b2b6c46c450 (patch) | |
tree | 28d1456411dc719faafb558230ffbe5bcf828184 /package/mac80211/patches/300-pending_work.patch | |
parent | c27c0d1ff08bca911d347fcc167d7ee1890a1a1e (diff) | |
download | upstream-60eec72adbbe6d8e45a6a5a6b4d25b2b6c46c450.tar.gz upstream-60eec72adbbe6d8e45a6a5a6b4d25b2b6c46c450.tar.bz2 upstream-60eec72adbbe6d8e45a6a5a6b4d25b2b6c46c450.zip |
mac80211: refresh patches
SVN-Revision: 33557
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index 1e25e352ca..219144c0b9 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -180,7 +180,7 @@ static void ieee80211_iface_work(struct work_struct *work) { struct ieee80211_sub_if_data *sdata = -@@ -1101,6 +1144,9 @@ static void ieee80211_iface_work(struct +@@ -1101,6 +1144,9 @@ static void ieee80211_iface_work(struct break; ieee80211_mesh_rx_queued_mgmt(sdata, skb); break; @@ -281,6 +281,13 @@ + list_for_each_entry_rcu(sdata, &local->interfaces, list) { + if (!sdata->dev) + continue; ++ ++ if (skb->dev != sdata->dev) ++ continue; ++ ++ found = true; ++ break; ++ } - p2p_sdata = rcu_dereference(local->p2p_sdata); - if (p2p_sdata) { @@ -289,18 +296,11 @@ - skb->len, acked, GFP_ATOMIC); - } - rcu_read_unlock(); -+ if (skb->dev != sdata->dev) -+ continue; -+ -+ found = true; -+ break; - } -+ + if (!skb->dev) { + sdata = rcu_dereference(local->p2p_sdata); + if (sdata) + found = true; -+ } + } + + if (!found) + skb->dev = NULL; |