wavelan.p.h defines *_ERROR
wavelan_cs.p.h defines *_ERRORS
Since only second one is included, change #ifdefs
Signed-off-by: Domen Puncer <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Maximilian Attems <[email protected]>
---
linux-2.6.10-rc2-bk13-max/drivers/net/wireless/wavelan_cs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/net/wireless/wavelan_cs.c~ifdef-drivers_net_wireless_wavelan_cs drivers/net/wireless/wavelan_cs.c
--- linux-2.6.10-rc2-bk13/drivers/net/wireless/wavelan_cs.c~ifdef-drivers_net_wireless_wavelan_cs 2004-11-30 02:41:40.000000000 +0100
+++ linux-2.6.10-rc2-bk13-max/drivers/net/wireless/wavelan_cs.c 2004-11-30 02:41:40.000000000 +0100
@@ -950,7 +950,7 @@ wv_diag(struct net_device * dev)
OP0_DIAGNOSE, SR0_DIAGNOSE_PASSED))
ret = TRUE;
-#ifdef DEBUG_CONFIG_ERROR
+#ifdef DEBUG_CONFIG_ERRORS
printk(KERN_INFO "wavelan_cs: i82593 Self Test failed!\n");
#endif
return(ret);
@@ -3463,7 +3463,7 @@ wv_ru_stop(struct net_device * dev)
/* If there was a problem */
if(spin <= 0)
{
-#ifdef DEBUG_CONFIG_ERROR
+#ifdef DEBUG_CONFIG_ERRORS
printk(KERN_INFO "%s: wv_ru_stop(): The chip doesn't want to stop...\n",
dev->name);
#endif
_