summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_input.c
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2008-02-03 12:00:03 +0000
committersephe <sephe@FreeBSD.org>2008-02-03 12:00:03 +0000
commitf42ebbd1b7ffd44040dfa547061f44f206a30e0e (patch)
treeef2cc7bce2de21ae3510bf0477c07a8d83916638 /sys/net80211/ieee80211_input.c
parent24b66433f671444aa93c1423127ccf6e1dc020d6 (diff)
downloadFreeBSD-src-f42ebbd1b7ffd44040dfa547061f44f206a30e0e.zip
FreeBSD-src-f42ebbd1b7ffd44040dfa547061f44f206a30e0e.tar.gz
- 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)
Diffstat (limited to 'sys/net80211/ieee80211_input.c')
-rw-r--r--sys/net80211/ieee80211_input.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index ad6b24f..9238bdf 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -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;
OpenPOWER on IntegriCloud