Re: [PATCH v2 09/22] ath9k: Handle fatal interrupts properly
From: Sujith Manoharan <hidden>
Date: 2012-06-02 11:54:15
From: Sujith Manoharan <hidden>
Date: 2012-06-02 11:54:15
Felix Fietkau wrote:
Hm, good point. Maybe use u32 then. Either way, the lock in this patch does almost nothing to protect against race conditions, since it doesn't apply to other places in the code that change sc->sc_flags. Maybe we should change that entire thing to just use set_bit/test_bit instead.
That's a good idea. I'll convert the flags to atomic ops. Sujith