summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_run.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2010-10-30 11:44:19 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2010-10-30 11:44:19 +0000
commite77eeed6e12c3a43d6ccfb30e8e1eb6e66d2222f (patch)
tree47c09bb4a96f1278795075be473b1c5afefc31b0 /sys/dev/usb/if_run.c
parent877753214a8b5724a2bcdac7e05e4cec0dae6698 (diff)
use hw sequence numbering for non-QoS frames
Diffstat (limited to 'sys/dev/usb/if_run.c')
-rw-r--r--sys/dev/usb/if_run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c
index f7aa8c9aae4..44fb7abceec 100644
--- a/sys/dev/usb/if_run.c
+++ b/sys/dev/usb/if_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_run.c,v 1.74 2010/10/23 16:14:07 jakemsr Exp $ */
+/* $OpenBSD: if_run.c,v 1.75 2010/10/30 11:44:18 damien Exp $ */
/*-
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -2141,7 +2141,7 @@ run_tx(struct run_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
/* setup TX Wireless Information */
txwi = (struct rt2860_txwi *)(txd + 1);
txwi->flags = 0;
- txwi->xflags = 0;
+ txwi->xflags = hasqos ? 0 : RT2860_TX_NSEQ;
txwi->wcid = (type == IEEE80211_FC0_TYPE_DATA) ?
RUN_AID2WCID(ni->ni_associd) : 0xff;
txwi->len = htole16(m->m_pkthdr.len);