Page MenuHomeFreeBSD

D47755.diff
No OneTemporary

D47755.diff

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

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)

Event Timeline