commit | b7dcf68f383a05567bd16a390907b67022a62d3d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 06 08:12:20 2017 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Wed Apr 19 16:57:41 2017 +0300 |
tree | 7de5a3f53bcc1c2db2cfdaf076939efa2cd55285 | |
parent | 3161adddf309e4c5f362d77f92206dd340fea67d [diff] |
ath9k: off by one in ath9k_hw_nvram_read_array() The > should be >= or we read one space beyond the end of the array. Fixes: ab5c4f71d8c7 ("ath9k: allow to load EEPROM content via firmware API") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>