Re: [PATCH] ath11k: simplify if-if to if-else

From: Wen Gong
Date: Fri Apr 15 2022 - 02:56:41 EST


On 4/15/2022 2:16 PM, Benjamin Poirier wrote:
On 2022-04-14 02:20 -0700, Yihao Han wrote:
...
It seems there is no synchronization around is_reset but is it
guaranteed that it cannot be changed by ath11k_core_reset() between the
two tests? I'm not familiar with the driver.

ath11k_core_reset() has logic to avoid muti-reset in the same time.

it means it has one recovery work doing for each time.