diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2012-01-04 14:27:19 +0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-09 18:20:11 +0400 |
commit | 9d82682d45ef7407474e0ae043a587cb33a7fa26 (patch) | |
tree | 979005036a5315bcb99ea7b8ab92d9e7d46a8b56 /drivers/net/can | |
parent | 982767b8c94482b4b7f694e2ab2074c95fbf3e0e (diff) | |
download | linux-9d82682d45ef7407474e0ae043a587cb33a7fa26.tar.xz |
ath6kl: Use a mutex_lock to avoid race in diabling and handling irq
Currently this race is handled but in a messy way an atomic
variable is being checked in a loop which sleeps upto ms
in every iteration. Remove this logic and use a mutex
to make sure irq is not disabled when irq handling is in
progress.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions