Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142180151
D47755.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
618 B
Referenced Files
None
Subscribers
None
D47755.diff
View Options
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -4480,7 +4480,7 @@
/*
* Figure out if we're using 11n or not here.
*/
- if (IEEE80211_IS_CHAN_HT(ni->ni_chan) && ni->ni_htrates.rs_nrates > 0)
+ if (ieee80211_ht_check_tx_ht(ni))
is_11n = 1;
else
is_11n = 0;
@@ -5358,7 +5358,7 @@
* 11n _and_ we have some 11n rates, or don't
* try.
*/
- if (IEEE80211_IS_CHAN_HT(ni->ni_chan) && ni->ni_htrates.rs_nrates > 0) {
+ if (ieee80211_ht_check_tx_ht(ni)) {
rs = (struct ieee80211_rateset *) &ni->ni_htrates;
is_11n = 1;
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 17, 9:37 PM (8 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27699608
Default Alt Text
D47755.diff (618 B)
Attached To
Mode
D47755: iwn: use ieee80211_ht_check_tx_ht()
Attached
Detach File
Event Timeline
Log In to Comment