- Correctly handle ALTQ in ieee80211_deliver_data()

- Add comment from sam that ALTQ probably does not work well with WME

PR: kern/119548
Approved by: sam (mentor)
This commit is contained in:
Sepherosa Ziehau 2008-02-03 12:00:03 +00:00
parent 4d494753eb
commit 12c5f8a8e3

View file

@ -762,8 +762,12 @@ ieee80211_deliver_data(struct ieee80211com *ic,
ieee80211_free_node(sta);
}
}
if (m1 != NULL)
(void) IF_HANDOFF(&ifp->if_snd, m1, ifp);
if (m1 != NULL) {
int error;
/* XXX does not work well with WME */
IFQ_HANDOFF(ifp, m1, error);
}
}
if (m != NULL) {
m->m_pkthdr.rcvif = ifp;