[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git] / package / madwifi / patches / 443-tx_drop_counter.patch
1 --- a/net80211/ieee80211_node.c
2 +++ b/net80211/ieee80211_node.c
3 @@ -1592,10 +1592,6 @@ found:
4 ieee80211_ref_node(ni);
5 #endif
6 }
7 - } else {
8 - IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_OUTPUT, mac,
9 - "no node, discard frame (%s)", __func__);
10 - vap->iv_stats.is_tx_nonode++;
11 }
12 }
13 return ni;
14 --- a/net80211/ieee80211_output.c
15 +++ b/net80211/ieee80211_output.c
16 @@ -208,6 +208,9 @@ ieee80211_hardstart(struct sk_buff *skb,
17 ni = ieee80211_find_txnode(vap, eh->ether_dhost);
18 if (ni == NULL) {
19 /* NB: ieee80211_find_txnode does stat+msg */
20 + IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_OUTPUT, mac,
21 + "no node, discard frame (%s)", __func__);
22 + vap->iv_stats.is_tx_nonode++;
23 goto bad;
24 }
25
This page took 0.038786 seconds and 5 git commands to generate.