aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFlorian Fainelli <florian.fainelli@telecomint.eu>2008-02-25 11:51:53 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:41:50 -0500
commit58e307398317ab55470547a7d72859c89edd187d (patch)
tree0d799c9ef5019f9ae27d1bbfefd11197f1000f6f /drivers
parent9a89c839f79395426b84cf6da9d56773402b4c0e (diff)
p54: print unknown eeprom fields
This patch allows p54common to print the uknown EEPROM fields, which can help when debugging/testing devices. Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/p54common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54common.c b/drivers/net/wireless/p54common.c
index 9ae3be43156a..84cc000e71aa 100644
--- a/drivers/net/wireless/p54common.c
+++ b/drivers/net/wireless/p54common.c
@@ -291,6 +291,10 @@ int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len)
291 case PDR_END: 291 case PDR_END:
292 i = len; 292 i = len;
293 break; 293 break;
294 default:
295 printk(KERN_INFO "p54: unknown eeprom code : 0x%x\n",
296 le16_to_cpu(entry->code));
297 break;
294 } 298 }
295 299
296 entry = (void *)entry + (entry_len + 1)*2; 300 entry = (void *)entry + (entry_len + 1)*2;