Message ID | 20190211220454.19850-2-zajec5@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 30519cbe339a45bd11a57ca8ece07f4f6a1cda2e |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/2] brcmfmac: improve code handling bandwidth of firmware reported channels | expand |
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index fa752ec04f22..b3611f0f68bf 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -6050,6 +6050,9 @@ static int brcmf_construct_chaninfo(struct brcmf_cfg80211_info *cfg, * HT40 upper, HT40 lower, and VHT80. */ switch (ch.bw) { + case BRCMU_CHAN_BW_160: + channel->flags &= ~IEEE80211_CHAN_NO_160MHZ; + break; case BRCMU_CHAN_BW_80: channel->flags &= ~IEEE80211_CHAN_NO_80MHZ; break;