diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-10 09:30:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-10 15:49:55 -0500 |
commit | 7177d8f998c452701ad5352cca12408e26f80b07 (patch) | |
tree | ce0379c48e7fe9f26669cc27d0ab57cfacecd369 /drivers | |
parent | 2fd2cdfb6d2f3c3d18f2e47f41679a7bde9bcbf3 (diff) |
ath9k: add EEPROM offset to debug message
Show the EEPROM offset of the failed read operation
in 'ath9k_hw_nvram_read'. The debug message is more
informative this way.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/eeprom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/eeprom.c b/drivers/net/wireless/ath/ath9k/eeprom.c index 4b6a9350adcf..bf52ae1fdfff 100644 --- a/drivers/net/wireless/ath/ath9k/eeprom.c +++ b/drivers/net/wireless/ath/ath9k/eeprom.c | |||
@@ -119,7 +119,8 @@ bool ath9k_hw_nvram_read(struct ath_common *common, u32 off, u16 *data) | |||
119 | 119 | ||
120 | ret = common->bus_ops->eeprom_read(common, off, data); | 120 | ret = common->bus_ops->eeprom_read(common, off, data); |
121 | if (!ret) | 121 | if (!ret) |
122 | ath_dbg(common, EEPROM, "Unable to read eeprom region\n"); | 122 | ath_dbg(common, EEPROM, |
123 | "unable to read eeprom region at offset %u\n", off); | ||
123 | 124 | ||
124 | return ret; | 125 | return ret; |
125 | } | 126 | } |