9cfaa707b2b96c695859f2dd963a7a26164a85a5

qcacld-2.0 to qcacld-3.0 propagation When the driver is configured to "force SCC" mode by gWlanMccToSccSwitchMode = 2, in STA+SAP case, the driver will check the SAP channel to avoid the MCC in same band(2.4G or 5G) and override if necessary. During ACS process, the SAP sapContext->channel is 0. The driver doesn't validate it before uses it in sapGotoChannelSel when applies the "force SCC" logic. That causes an invalid channel selection for the SAP. And finally causes the hostapd starting failed. This fix is to skip the override logic if the sapContext->channel is 0. When the SAP is starting with a valid channel, the override logic will be activated again. Change-Id: I8e3d171ac47d8be149df98ae3e30c8df391a15b0 CRs-Fixed: 1033277
This is CNSS WLAN Host Driver for products starting from iHelium
Description
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%