summaryrefslogtreecommitdiff
path: root/CORE
diff options
context:
space:
mode:
Diffstat (limited to 'CORE')
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index f13d5e9c2696..8d974d3a7f6d 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -10437,7 +10437,7 @@ __wlan_hdd_cfg80211_set_channel(struct wiphy *wiphy,
sap_config->channel = channel;
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)) && !defined(WITH_BACKPORTS)
- sap_config.ch_width_orig = eHT_CHANNEL_WIDTH_40MHZ;
+ sap_config->ch_width_orig = eHT_CHANNEL_WIDTH_40MHZ;
#endif
vos_mem_zero(&smeConfig, sizeof(smeConfig));
sme_GetConfigParam(pHddCtx->hHal, &smeConfig);
@@ -10454,7 +10454,7 @@ __wlan_hdd_cfg80211_set_channel(struct wiphy *wiphy,
eCSR_INI_SINGLE_CHANNEL_CENTERED;
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)) && !defined(WITH_BACKPORTS)
- sap_config.ch_width_orig = eHT_CHANNEL_WIDTH_20MHZ;
+ sap_config->ch_width_orig = eHT_CHANNEL_WIDTH_20MHZ;
#endif
sap_config->sec_ch = 0;
break;