Blank m_nextpkt before passing it up.

This commit is contained in:
adrian 2013-08-12 22:27:53 +00:00
parent 0b111bdfcb
commit a2aef27368

View File

@ -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);