mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
net80211: fix flags setup for HT40 5GHz channels.
This commit is contained in:
parent
25b20d78f8
commit
98ff1f7c6e
1 changed files with 1 additions and 1 deletions
|
|
@ -1317,6 +1317,7 @@ getflags_5ghz(const uint8_t bands[], uint32_t flags[], int ht40, int vht80)
|
|||
if (isset(bands, IEEE80211_MODE_VHT_5GHZ)) {
|
||||
flags[nmodes++] = IEEE80211_CHAN_A | IEEE80211_CHAN_HT20 |
|
||||
IEEE80211_CHAN_VHT20;
|
||||
}
|
||||
|
||||
/* 40MHz */
|
||||
if (ht40) {
|
||||
|
|
@ -1340,7 +1341,6 @@ getflags_5ghz(const uint8_t bands[], uint32_t flags[], int ht40, int vht80)
|
|||
IEEE80211_CHAN_HT40U | IEEE80211_CHAN_VHT80;
|
||||
flags[nmodes++] = IEEE80211_CHAN_A |
|
||||
IEEE80211_CHAN_HT40D | IEEE80211_CHAN_VHT80;
|
||||
}
|
||||
}
|
||||
|
||||
/* XXX VHT80+80 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue