diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 14:05:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 14:05:57 +0000 |
commit | ed497b57a70017b9f971783e70c4a093e6610081 (patch) | |
tree | d7aac246641fb68f55a15d0a15eda442de5848c0 /package/madwifi/patches | |
parent | 5335a250267db1ff17b0beeef0f8960144d1d988 (diff) | |
download | mtk-20170518-ed497b57a70017b9f971783e70c4a093e6610081.zip mtk-20170518-ed497b57a70017b9f971783e70c4a093e6610081.tar.gz mtk-20170518-ed497b57a70017b9f971783e70c4a093e6610081.tar.bz2 |
madwifi: fix frame dropped counter
SVN-Revision: 17224
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r-- | package/madwifi/patches/443-tx_drop_counter.patch | 25 |
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 0000000..13c154d --- /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; + } + |