diff options
author | Sam Leffler <sam@FreeBSD.org> | 2004-04-02 22:47:11 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2004-04-02 22:47:11 +0000 |
commit | 9089c48c1347896743823324a10679d7c0e5202c (patch) | |
tree | 20496504334214bd65fa8117489036c9111acf54 /sys/net80211 | |
parent | fce2da8b66a913d182366564bcbde606ca6829a6 (diff) | |
download | src-9089c48c1347896743823324a10679d7c0e5202c.tar.gz src-9089c48c1347896743823324a10679d7c0e5202c.zip |
when receiving a frame w/ a bad version number don't unref the node; the
driver is responsible for that
Obtained from: madwifi
Notes
Notes:
svn path=/head/; revision=127762
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 4a0306195307..afffee8731fd 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -112,7 +112,6 @@ ieee80211_input(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni, if (ifp->if_flags & IFF_DEBUG) if_printf(ifp, "receive packet with wrong version: %x\n", wh->i_fc[0]); - ieee80211_unref_node(&ni); ic->ic_stats.is_rx_badversion++; goto err; } |