On 01/04/2012 12:27 PM, Vasanthakumar Thiagarajan wrote: > 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@xxxxxxxxxxxxxxxx> Thanks, applied. There is one race, though. It's possible that the irq handler is executed once after the interrupts are disabled. Do we care about that? AFAICS this race was before your patch so I'll take your patch anyway. Kalle -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html