net80211: return 80P80 before 160
In ieee80211_vht_get_chwidth_ie() we need to return 80P80 (3) before VHT160 (2) as otherwise we'll never use 80P80. Fix the order. MFC after: 2 weeks X-MFC with: r364303 (which missed this) Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate")
This commit is contained in:
parent
987992b128
commit
a666b24ea5
@ -693,10 +693,10 @@ ieee80211_vht_get_chwidth_ie(struct ieee80211_channel *c)
|
||||
* well?
|
||||
*/
|
||||
|
||||
if (IEEE80211_IS_CHAN_VHT160(c))
|
||||
return IEEE80211_VHT_CHANWIDTH_160MHZ;
|
||||
if (IEEE80211_IS_CHAN_VHT80P80(c))
|
||||
return IEEE80211_VHT_CHANWIDTH_80P80MHZ;
|
||||
if (IEEE80211_IS_CHAN_VHT160(c))
|
||||
return IEEE80211_VHT_CHANWIDTH_160MHZ;
|
||||
if (IEEE80211_IS_CHAN_VHT80(c))
|
||||
return IEEE80211_VHT_CHANWIDTH_80MHZ;
|
||||
if (IEEE80211_IS_CHAN_VHT40(c))
|
||||
|
Loading…
x
Reference in New Issue
Block a user