aec06bc9b7fee7ccdaf990e45c2c6d41ac994b32

Current code registers va-md entry with static name 'qdf_va_md' when loading wlan driver, with no unregister upon failure or driver unloading, this has a problem when multiple wlan drivers are present, in which case it will try to load all one by one during system bootup, but only one driver will be loaded successfully at last. The notifier_block for the unexpected wlan drivers will be left in the notifier chain, which will result in kernel panic when collecting minidump. We can improve this by registering va-md entry with module name, and unregistering the entry during de-init with the newly added API qcom_va_md_unregister(), then different wlan driver will register va-md entry with different module name, and the entry will be unregistered on loading failure or unloading, then there will be no stale notifier_block. Change-Id: Ic08136f3f2ce1c202cab1ee68d8d376f2bd2fa57 CRs-Fixed: 3265807
This is CNSS WLAN Host Driver for products starting from iHelium
Opis
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%