diff options
author | adrian <adrian@FreeBSD.org> | 2013-08-12 22:27:53 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-08-12 22:27:53 +0000 |
commit | a2aef273685605f46048119618c225d88ecbab86 (patch) | |
tree | 5aa09b2ae286ed9df334525552d1498bda1e16d7 /sys/net80211 | |
parent | 0b111bdfcbe8e9c5f1d30ef4226b1250231c8716 (diff) | |
download | FreeBSD-src-a2aef273685605f46048119618c225d88ecbab86.zip FreeBSD-src-a2aef273685605f46048119618c225d88ecbab86.tar.gz |
Blank m_nextpkt before passing it up.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_power.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c index c05c1be..4542ec5 100644 --- a/sys/net80211/ieee80211_power.c +++ b/sys/net80211/ieee80211_power.c @@ -475,6 +475,7 @@ pwrsave_flushq(struct ieee80211_node *ni) while (ifp_q != NULL) { m = ifp_q; ifp_q = m->m_nextpkt; + m->m_nextpkt = NULL; KASSERT((!(m->m_flags & M_ENCAP)), ("%s: vapq with M_ENCAP frame!\n", __func__)); (void) ieee80211_vap_xmitpkt(vap, m); |