I'd found that the WARegVal field of ath_hw structre which are used to avoid
reading the AR_WA reg while chip asleep is used before initialization in
ath9k_set_reset_reg(). So that on ar9300 the AR_WA reg is zero written when the
ath9k_set_reset_reg() is first called from __ath9k_hw_init(). The WARegVal
is read back later, bits 14 and 17 are set. So this variable do not hold
initial AR_WA reg value but just bits 14 and 17. I do not know the required
behaviour but it looks like mistake.
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to