mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Copy ch_width irrespective of gvendor_acs_support value
When gvendor_acs_support=1, ch_width provided by hostapd is not getting copied to sap_cfg. As a result, ch_width is 0 (20Mhz) irrepective of whatever provided by hostapd causing issues. Copy ch_width irrespective of gvendor_acs_support value. Change-Id: I7013eb7ee3610790194916078640d633747de15e CRs-Fixed: 2247771
This commit is contained in:
parent
b2fcd477cd
commit
57b7ee356f
1 changed files with 4 additions and 4 deletions
|
|
@ -7277,10 +7277,6 @@ static int wlan_hdd_sap_p2p_11ac_overrides(struct hdd_adapter *ap_adapter)
|
|||
}
|
||||
}
|
||||
|
||||
sap_cfg->ch_params.ch_width = sap_cfg->ch_width_orig;
|
||||
wlan_reg_set_channel_params(hdd_ctx->hdd_pdev, sap_cfg->channel,
|
||||
sap_cfg->sec_ch, &sap_cfg->ch_params);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -7863,6 +7859,10 @@ int wlan_hdd_cfg80211_start_bss(struct hdd_adapter *adapter,
|
|||
goto error;
|
||||
}
|
||||
|
||||
pConfig->ch_params.ch_width = pConfig->ch_width_orig;
|
||||
wlan_reg_set_channel_params(hdd_ctx->hdd_pdev, pConfig->channel,
|
||||
pConfig->sec_ch, &pConfig->ch_params);
|
||||
|
||||
/* ht_capab is not what the name conveys,
|
||||
* this is used for protection bitmap
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue