ath9k: return false when reading wrong eeprom offset
authorEduardo Abinader <eduardo.abinader@riverbed.com>
Wed, 29 Jun 2016 16:29:29 +0000 (19:29 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 30 Jun 2016 11:10:12 +0000 (14:10 +0300)
commit0f27ac40fb64dc0ac8254913b414dde3386196f4
tree2ff7299568e242a92557ad57584c1869177fe08c
parent3fa35bacc16a01b4acfa4a2a34947f84b1237056
ath9k: return false when reading wrong eeprom offset

Just setting the proper return for reading beyond the eeprom data.

Signed-off-by: Eduardo Abinader <eduardo.abinader@riverbed.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/pci.c