Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144504279
D49512.1775083791.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
828 B
Referenced Files
None
Subscribers
None
D49512.1775083791.diff
View Options
diff --git a/sys/dev/usb/wlan/if_mtw.c b/sys/dev/usb/wlan/if_mtw.c
--- a/sys/dev/usb/wlan/if_mtw.c
+++ b/sys/dev/usb/wlan/if_mtw.c
@@ -53,6 +53,9 @@
#include <net80211/ieee80211_radiotap.h>
#include <net80211/ieee80211_ratectl.h>
#include <net80211/ieee80211_regdomain.h>
+#ifdef IEEE80211_SUPPORT_SUPERG
+#include <net80211/ieee80211_superg.h>
+#endif
#include <netinet/if_ether.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
@@ -2801,10 +2804,10 @@
#ifdef IEEE80211_SUPPORT_SUPERG
/* XXX TODO: make this deferred rather than unlock/relock */
/* XXX TODO: should only do the QoS AC this belongs to */
- if (pq->tx_nfree >= RUN_TX_RING_COUNT) {
- RUN_UNLOCK(sc);
+ if (pq->tx_nfree >= MTW_TX_RING_COUNT) {
+ MTW_UNLOCK(sc);
ieee80211_ff_flush_all(ic);
- RUN_LOCK(sc);
+ MTW_LOCK(sc);
}
#endif
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 1, 10:49 PM (15 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28240278
Default Alt Text
D49512.1775083791.diff (828 B)
Attached To
Mode
D49512: mtw: fix compilation with IEEE80211_SUPPORT_SUPERG enabled
Attached
Detach File
Event Timeline
Log In to Comment