commit | 9d82682d45ef7407474e0ae043a587cb33a7fa26 | [log] [tgz] |
---|---|---|
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | Wed Jan 04 15:57:19 2012 +0530 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Mon Jan 09 16:20:11 2012 +0200 |
tree | 979005036a5315bcb99ea7b8ab92d9e7d46a8b56 | |
parent | 982767b8c94482b4b7f694e2ab2074c95fbf3e0e [diff] |
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>