31dfdf84bf5c032acacc6ace82b045f3b6d1b6c4

During wifi load and unload, multiple memory allocations and deallocations are done in the path of dfs_deinit_precac_list, and at a particular instance there is a crash seen due to an invalid paging request. The QDF_TRACE_LEVEL_ERROR logs are not enabled by default. These prints can be useful in debugging the issue when it occurs the next time. Hence, the dfs_err prints are enabled by default. When a crash occurs with the dfs_precac list functionality, debugging the crash with dumps in T32 is difficult. During wifi unload, the api wlan_dfs_pdev_obj_destroy_notification is called. On first step, the pdev component is detached making the pdev component as NULL and after that dfs component is detached. So when crash happens at this point, pdev component is already NULL and analysing dumps with T32 is useless at this stage. Therefore, modify the order of dfs detach in wlan_dfs_pdev_obj_destroy_notification. First detach the dfs component and then detach the pdev component. CRs-Fixed: 2872097 Change-Id: I157c6e6272bf4dd3676588b7ee6889fdb2efa5dc
This is CNSS WLAN Host Driver for products starting from iHelium
Leírás
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%