2009-08-11 17:05:57 +03:00
|
|
|
--- a/net80211/ieee80211_node.c
|
|
|
|
+++ b/net80211/ieee80211_node.c
|
2009-09-09 03:17:13 +03:00
|
|
|
@@ -1590,10 +1590,6 @@ found:
|
2009-08-11 17:05:57 +03:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|