Staging: rtxxxx: RTMPGetRalinkAuthModeStr() fixes
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 23 Aug 2009 13:29:11 +0000 (15:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:20 +0000 (12:02 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/cmm_info.c

index 306c3a21f90557c2964bdb88dcb7ed2d5960a4d5..9f3263369edd4885e095eebe3751304bd26fb8a5 100644 (file)
@@ -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
        }
 }