diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2020-08-24 13:15:08 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2020-08-24 13:15:08 +0000 |
| commit | 2b9f12f6b2f5284999ab0a63037943dea5cfbedf (patch) | |
| tree | defdf18c9d25b017cd3697aa4f61ab270b6059c9 /sys/dev/usb/wlan | |
| parent | a333a508a20df6d9c94927a0176d40c896dd52de (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/wlan')
| -rw-r--r-- | sys/dev/usb/wlan/if_rsu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_rsu.c b/sys/dev/usb/wlan/if_rsu.c index 9f19efbf8514..da0ff7aea8a4 100644 --- a/sys/dev/usb/wlan/if_rsu.c +++ b/sys/dev/usb/wlan/if_rsu.c @@ -779,7 +779,8 @@ rsu_getradiocaps(struct ieee80211com *ic, if (sc->sc_ht) setbit(bands, IEEE80211_MODE_11NG); ieee80211_add_channels_default_2ghz(chans, maxchans, nchans, - bands, (ic->ic_htcaps & IEEE80211_HTCAP_CHWIDTH40) != 0); + bands, (ic->ic_htcaps & IEEE80211_HTCAP_CHWIDTH40) ? + NET80211_CBW_FLAG_HT40 : 0); } static void |
