From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Hacker Date: Wed, 30 Mar 2011 10:18:55 +0600 Subject: [ath9k-devel] Zero write to AR_WA on ar9300 reset. Message-ID: <20110330041855.GA12925@infinet.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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.