summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt2860
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-08-23 15:29:11 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:20 -0700
commit2ac6ff20265b2503cb1b172ac6e4e362676aaead (patch)
tree4d21239301ab6a7d94f094a227ef8ffc394a9fd2 /drivers/staging/rt2860
parent5686ecd5aef71f2035f56540184f411584db06e6 (diff)
Staging: rtxxxx: RTMPGetRalinkAuthModeStr() fixes
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860')
-rw-r--r--drivers/staging/rt2860/common/cmm_info.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/rt2860/common/cmm_info.c b/drivers/staging/rt2860/common/cmm_info.c
index 306c3a21f90..9f3263369ed 100644
--- a/drivers/staging/rt2860/common/cmm_info.c
+++ b/drivers/staging/rt2860/common/cmm_info.c
@@ -2725,9 +2725,6 @@ PCHAR RTMPGetRalinkAuthModeStr(
{
case Ndis802_11AuthModeOpen:
return "OPEN";
-#if defined(RT2860) || defined(RT30xx)
- default:
-#endif
case Ndis802_11AuthModeWPAPSK:
return "WPAPSK";
case Ndis802_11AuthModeShared:
@@ -2742,14 +2739,10 @@ PCHAR RTMPGetRalinkAuthModeStr(
return "WPAPSKWPA2PSK";
case Ndis802_11AuthModeWPA1WPA2:
return "WPA1WPA2";
-#ifndef RT30xx
case Ndis802_11AuthModeWPANone:
return "WPANONE";
-#ifdef RT2870
default:
return "UNKNOW";
-#endif
-#endif
}
}