summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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