Re: [ath5k-devel] [PATCH 02/13] ath5k: Maintain PISR snapshot

2011-11-20 Thread Nick Kossifidis
2011/11/21 Adrian Chadd : > .. replying to this after having not slept for > 24 hours, thanks to > being in transit between the US and Western Australia.. Ouch ! I've done that a lot lately, without traveling :P > On 20 November 2011 15:56, Nick Kossifidis wrote: >> Since we dont read a snapshot

Re: [ath5k-devel] [PATCH 02/13] ath5k: Maintain PISR snapshot

2011-11-20 Thread Adrian Chadd
.. replying to this after having not slept for > 24 hours, thanks to being in transit between the US and Western Australia.. On 20 November 2011 15:56, Nick Kossifidis wrote: > Since we dont read a snapshot of the interrupt > registers it might be possible to get a new interrupt > while reading t

[ath5k-devel] [PATCH 02/13] ath5k: Maintain PISR snapshot

2011-11-20 Thread Nick Kossifidis
Since we dont read a snapshot of the interrupt registers it might be possible to get a new interrupt while reading them. In this case we should make sure that we clear all SISR bits we get from PISR. Tested on an AR2425 Signed-off-by: Nick Kossifidis --- drivers/net/wireless/ath/ath5k/dma.c |