1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 22:06:31 +02:00
openwrt-xburst/package/madwifi/patches/443-tx_drop_counter.patch
nbd 3713427395 madwifi: remove an unimportant part of the ibss node handling fix, which led to a regression in ap-to-ap wds operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 10:40:23 +00:00

26 lines
709 B
Diff

--- a/net80211/ieee80211_node.c
+++ b/net80211/ieee80211_node.c
@@ -1592,10 +1592,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;
}