216957b430ac5eefd25996bf00051305517bcff7

wlan_hdd_state_ctrl_param_create() creates a control file that is used to synchronize the wlan driver with the Wi-Fi HAL in userspace. Currently the driver creates the file at the path /dev/<module>. The WIFI_DRIVER_STATE_CTRL_PARAM configuration item defines the path that the Wi-Fi HAL uses, and this is /dev/wlan. So when the driver is built with a module name of "wlan" the file is created at the expected path. However when the driver is built with a different name, as is done when TARGET_MULTI_WLAN is enabled, the file is not created at the expected path. Therefore change the driver to always create the file at the path specified in the WIFI_DRIVER_STATE_CTRL_PARAM configuration item. In addition do not even enable the functionality if the WIFI_DRIVER_STATE_CTRL_PARAM configuration item is not set (i.e. on non-Android platforms). Change-Id: I8a7f0a9b22e3f49d02f896150bd452f80af9c022 CRs-Fixed: 2905381
This is CNSS WLAN Host Driver for products starting from iHelium
توضیحات
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%