qcacld-3.0: The driver is not honoring NL80211_CHAN_WIDTH_20_NOHT
When driver sets the channel banwidth, if HT and VHT are disabled
then kernel sets the width to NL80211_CHAN_WIDTH_20_NOHT. Currently
driver is not honoring this.
To resolve this issue add support for NL80211_CHAN_WIDTH_20_NOHT.
Change-Id: I98be22003bf88128ba39a0d2de43c2b3f3e5e2f0
CRs-Fixed: 2035625
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index 2f42c2b..42a81f3 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -16424,6 +16424,7 @@
sme_get_config_param(pHddCtx->hHal, &sme_config);
switch (chandef->width) {
case NL80211_CHAN_WIDTH_20:
+ case NL80211_CHAN_WIDTH_20_NOHT:
if (sme_config.csrConfig.channelBondingMode24GHz !=
eCSR_INI_SINGLE_CHANNEL_CENTERED) {
sme_config.csrConfig.channelBondingMode24GHz =