Blank m_nextpkt before passing it up.
This commit is contained in:
parent
d7511a40a7
commit
57b5fc5f3d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254261
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user