Blank m_nextpkt before passing it up.

This commit is contained in:
Adrian Chadd 2013-08-12 22:27:53 +00:00
parent d7511a40a7
commit 57b5fc5f3d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254261

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