aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-08-11 14:05:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-08-11 14:05:57 +0000
commit6bd79054218643f982bfa3a2aadcbd11ac49471d (patch)
treeb5f4fd35353d3b4ebabc1a46a3635db3de6abedf /package/madwifi
parentdc62db2d7a715155601d451d60bf3ae3586e5578 (diff)
downloadupstream-6bd79054218643f982bfa3a2aadcbd11ac49471d.tar.gz
upstream-6bd79054218643f982bfa3a2aadcbd11ac49471d.tar.bz2
upstream-6bd79054218643f982bfa3a2aadcbd11ac49471d.zip
madwifi: fix frame dropped counter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17224 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/443-tx_drop_counter.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/madwifi/patches/443-tx_drop_counter.patch b/package/madwifi/patches/443-tx_drop_counter.patch
new file mode 100644
index 0000000000..13c154df2b
--- /dev/null
+++ b/package/madwifi/patches/443-tx_drop_counter.patch
@@ -0,0 +1,25 @@
+--- a/net80211/ieee80211_node.c
++++ b/net80211/ieee80211_node.c
+@@ -1591,10 +1591,6 @@ found:
+ ieee80211_ref_node(ni);
+ #endif
+ }
+- } else {
+- IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_OUTPUT, mac,
+- "no node, discard frame (%s)", __func__);
+- vap->iv_stats.is_tx_nonode++;
+ }
+ }
+ return ni;
+--- a/net80211/ieee80211_output.c
++++ b/net80211/ieee80211_output.c
+@@ -208,6 +208,9 @@ ieee80211_hardstart(struct sk_buff *skb,
+ ni = ieee80211_find_txnode(vap, eh->ether_dhost);
+ if (ni == NULL) {
+ /* NB: ieee80211_find_txnode does stat+msg */
++ IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_OUTPUT, mac,
++ "no node, discard frame (%s)", __func__);
++ vap->iv_stats.is_tx_nonode++;
+ goto bad;
+ }
+