mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211: update to 2009-11-13 and add some of my new performance improvement patches. fixes excessive cpu usage of hostapd in ap mode, should also fix the ath9k memleak
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18415 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
14
package/mac80211/patches/540-monitor_tx_status.patch
Normal file
14
package/mac80211/patches/540-monitor_tx_status.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/net/mac80211/main.c
|
||||
+++ b/net/mac80211/main.c
|
||||
@@ -587,6 +587,11 @@ void ieee80211_tx_status(struct ieee8021
|
||||
if (!netif_running(sdata->dev))
|
||||
continue;
|
||||
|
||||
+ if ((sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) &&
|
||||
+ !(info->flags & IEEE80211_TX_CTL_INJECTED) &&
|
||||
+ (type == IEEE80211_FTYPE_DATA))
|
||||
+ continue;
|
||||
+
|
||||
if (prev_dev) {
|
||||
skb2 = skb_clone(skb, GFP_ATOMIC);
|
||||
if (skb2) {
|
||||
Reference in New Issue
Block a user