From a2aef273685605f46048119618c225d88ecbab86 Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 12 Aug 2013 22:27:53 +0000 Subject: [PATCH] Blank m_nextpkt before passing it up. --- sys/net80211/ieee80211_power.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c index c05c1be818f5..4542ec59da0e 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);