Commit 4df3071ebd92ef7115b409da64d0eb405d24a631 "ath9k_hw: optimize
interrupt mask changes", changed ath9k_hw_set_interrupts function to
enable interrupts regardless of function argument, what could possibly
be wrong. Correct that behaviour and check "ints" arguments before
enabling interrupts, also disable interrupts if ints do not have
ATH9K_INT_GLOBAL flag set.
Signed-off-by: Stanislaw Gruszka <redacted>
---
drivers/net/wireless/ath/ath9k/mac.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
From: John W. Linville <hidden> Date: 2011-02-23 21:30:39
On Mon, Feb 21, 2011 at 03:02:41PM +0100, Stanislaw Gruszka wrote:
Commit 4df3071ebd92ef7115b409da64d0eb405d24a631 "ath9k_hw: optimize
interrupt mask changes", changed ath9k_hw_set_interrupts function to
enable interrupts regardless of function argument, what could possibly
be wrong. Correct that behaviour and check "ints" arguments before
enabling interrupts, also disable interrupts if ints do not have
ATH9K_INT_GLOBAL flag set.
Signed-off-by: Stanislaw Gruszka <redacted>
Should this be Cc: stable@kernel.org?
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
On Wed, Feb 23, 2011 at 04:21:32PM -0500, John W. Linville wrote:
On Mon, Feb 21, 2011 at 03:02:41PM +0100, Stanislaw Gruszka wrote:
quoted
Commit 4df3071ebd92ef7115b409da64d0eb405d24a631 "ath9k_hw: optimize
interrupt mask changes", changed ath9k_hw_set_interrupts function to
enable interrupts regardless of function argument, what could possibly
be wrong. Correct that behaviour and check "ints" arguments before
enabling interrupts, also disable interrupts if ints do not have
ATH9K_INT_GLOBAL flag set.
Signed-off-by: Stanislaw Gruszka <redacted>
Should this be Cc: stable@kernel.org?
I think no. 4df3071ebd92e is from .38-rc1 , this patch should
go to 38 if possible. If not, I'm still not sure about stable.
It does not fix any pratical issues for me, my ath9k device
work good with and without patch.
Stanislaw