qcacmn: Honor Umac reset trigger atomically
Make sure the Umac reset state is updated when the trigger is received only after checking Umac reset in progress flag. Change-Id: I2c6ac68bee5b69b1f083a109646cb6bf61d8cdd6 CRs-Fixed: 3487388
This commit is contained in:

committed by
Madan Koyyalamudi

parent
fffa314bff
commit
e8bf99b94f
@@ -2707,12 +2707,16 @@ void dp_umac_reset_complete_umac_recovery(struct dp_soc *soc);
|
||||
/**
|
||||
* dp_umac_reset_initiate_umac_recovery() - Initiate Umac reset session
|
||||
* @soc: dp soc handle
|
||||
* @umac_reset_ctx: Umac reset context
|
||||
* @rx_event: Rx event received
|
||||
* @is_target_recovery: Flag to indicate if it is triggered for target recovery
|
||||
*
|
||||
* Return: status
|
||||
*/
|
||||
QDF_STATUS dp_umac_reset_initiate_umac_recovery(struct dp_soc *soc,
|
||||
bool is_target_recovery);
|
||||
struct dp_soc_umac_reset_ctx *umac_reset_ctx,
|
||||
enum umac_reset_rx_event rx_event,
|
||||
bool is_target_recovery);
|
||||
|
||||
/**
|
||||
* dp_umac_reset_handle_action_cb() - Function to call action callback
|
||||
|
Reference in New Issue
Block a user