mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacld-3.0: protect mgmt flow in SSR case
qcacld-2.0 to qcacld-3.0 propagation Fix the race condition, between 2 kernel worker threads while shutdown is in progress. Change-Id: I6e71ae55c57dac8c2adb36167783615e218cb481 CRs-Fixed: 834362
This commit is contained in:
parent
c4de4ef6f8
commit
80edc7843e
1 changed files with 5 additions and 0 deletions
|
|
@ -3140,6 +3140,11 @@ static int wma_mgmt_rx_process(void *handle, uint8_t *data,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (cds_is_driver_recovering()) {
|
||||
WMA_LOGW(FL("Recovery in progress"));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
qdf_mem_zero(rx_pkt, sizeof(*rx_pkt));
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue