ath9k_hw: fix device ID check for AR956x
authorFelix Fietkau <nbd@openwrt.org>
Sun, 21 Jun 2015 17:47:46 +0000 (19:47 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 11 Jul 2015 16:58:56 +0000 (19:58 +0300)
commit7865598ec24ab4162d976d0bd75a9b2a2f58cd64
tree3a1ef1665d0e43b44c49b943703cb3378540d2fc
parent145c37084e3e6584b95f82361922965cc3af41bf
ath9k_hw: fix device ID check for AR956x

Because of the missing return, the macVersion value was being
overwritten with an invalid register read

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/hw.c