aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/303-pending-ath9k-add-EEPROM-offset-to-debug-message.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-10 15:46:15 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-10 15:46:15 +0000
commitdfd718d13d5351916325ff7464af88e617804cd4 (patch)
tree52b00e15e7911ad17b78bc4c7bfb7a869cdb034f /package/mac80211/patches/303-pending-ath9k-add-EEPROM-offset-to-debug-message.patch
parent0739a2bb9cda89eb9c17088a3f1c7e9edf5b69c2 (diff)
downloadupstream-dfd718d13d5351916325ff7464af88e617804cd4.tar.gz
upstream-dfd718d13d5351916325ff7464af88e617804cd4.tar.bz2
upstream-dfd718d13d5351916325ff7464af88e617804cd4.zip
mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34606
Diffstat (limited to 'package/mac80211/patches/303-pending-ath9k-add-EEPROM-offset-to-debug-message.patch')
-rw-r--r--package/mac80211/patches/303-pending-ath9k-add-EEPROM-offset-to-debug-message.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/mac80211/patches/303-pending-ath9k-add-EEPROM-offset-to-debug-message.patch b/package/mac80211/patches/303-pending-ath9k-add-EEPROM-offset-to-debug-message.patch
new file mode 100644
index 0000000000..d0561938e8
--- /dev/null
+++ b/package/mac80211/patches/303-pending-ath9k-add-EEPROM-offset-to-debug-message.patch
@@ -0,0 +1,26 @@
+From 910b74fb0e0369b18aa689ab02c9413235c18f98 Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Sun, 9 Dec 2012 16:47:35 +0100
+Subject: [PATCH 2/4] 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>
+---
+ drivers/net/wireless/ath/ath9k/eeprom.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- 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_comm
+
+ ret = common->bus_ops->eeprom_read(common, off, data);
+ if (!ret)
+- ath_dbg(common, EEPROM, "Unable to read eeprom region\n");
++ ath_dbg(common, EEPROM,
++ "unable to read eeprom region at offset %u\n", off);
+
+ return ret;
+ }