ath9k: fix ath9k_hw_nvram_check_version()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 19 Dec 2015 10:59:19 +0000 (13:59 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Jan 2016 13:16:15 +0000 (15:16 +0200)
commit19f2ce3f1114c5d59e5e4457ccdd15464070dc5f
treeb078a9ac0cab37fa581d77bcfbd5f5bb5c2bd0f2
parent50e81e2f0b0a9fdb9e5bd515270680c7c281ce1f
ath9k: fix ath9k_hw_nvram_check_version()

There is a type bug so it always returns success.

Fixes: 6fa658fd5ab2 ('ath9k: Simplify and fix eeprom endianness swapping')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/eeprom.c