Browse Source

qcacld-3.0: Fix standalone SAP ACS HT 40 failure

After ACS completed, wlan_sap_get_concurrent_bw will
override ACS BW based on concurrency interfaces, but
it will hard code 2.4 GHz to 20 MHz BW. Fix it by
return BW from ACS result to avoid ACS request 40 MHz
failure.

Change-Id: Ibb763c275234c7974ba34c4e2d95f1ed4238908d
CRs-Fixed: 3422900
Liangwei Dong 2 years ago
parent
commit
393f3f3d9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/sap/src/sap_module.c

+ 1 - 1
core/sap/src/sap_module.c

@@ -621,7 +621,7 @@ enum phy_ch_width wlan_sap_get_concurrent_bw(struct wlan_objmgr_pdev *pdev,
 	bool is_hw_dbs_capable = false;
 
 	if (WLAN_REG_IS_24GHZ_CH_FREQ(con_ch_freq))
-		return CH_WIDTH_20MHZ;
+		return channel_width;
 
 	if (wlan_reg_is_6ghz_chan_freq(con_ch_freq))
 		return channel_width;