qcacld-3.0: Cleanup DFS CAC timer when SSR and reset all adapters
In SAP and SSR case, it won't cleanup DFS CAC timer until up layer kill hostapd. It will call wlansap close when hostapd exit. If enable sap internal restart in this case, it will double init DFS CAC timer, which cause abnormal in kernel. Solution is cleanup DFS CAC timer when reset all adapters. Change-Id: I96962349af548074e226976c8c01cd5a8710ed3f CRs-fixed: 2075904
This commit is contained in:
@@ -1055,6 +1055,18 @@ QDF_STATUS wlansap_set_invalid_session(void *cds_ctx);
|
||||
* Return: None
|
||||
*/
|
||||
void sap_dfs_set_current_channel(void *sap_ctx);
|
||||
|
||||
/**
|
||||
* wlansap_cleanup_cac_timer() - Force cleanup DFS CAC timer
|
||||
* @sap_ctx: sap context
|
||||
*
|
||||
* Force cleanup DFS CAC timer when reset all adapters. It will not
|
||||
* check concurrency SAP since just called when reset all adapters.
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void wlansap_cleanup_cac_timer(void *sap_ctx);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user