]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ath9k_hw: Fix regression of register offset for AR9003 chips
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 20 Oct 2011 08:52:43 +0000 (14:22 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:18 +0000 (11:18 -0800)
commit8ebab94b7f4d5ef3d2183bcfe3db250a9ef585db
tree8019b874183b35a7ce9023c4a7d34f7aedc04be3
parenta0806f6f01ca4e3243a9127df4dfce37d21fb0ec
ath9k_hw: Fix regression of register offset for AR9003 chips

commit 52d6d4ef5e6d1517688e27c11c01ab303ec681dd upstream.

My recent commits (3782c69d324c74a) introduced regression
for register offset selection that based on the macversion.
Not using parentheses in proper manner for ternary operator
leads to select wrong offset for the registers.

This issue was observed with AR9462 chip that immediate disconnect
after the association with the following message

ieee80211 phy3: wlan0: Failed to send nullfunc to AP 00:23:69:12:ea:47
after 500ms, disconnecting.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/ar9003_phy.h