mirror of https://gitee.com/openkylin/linux.git
Staging: rtxxxx: RTMPGetRalinkAuthModeStr() fixes
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5686ecd5ae
commit
2ac6ff2026
|
@ -2725,9 +2725,6 @@ PCHAR RTMPGetRalinkAuthModeStr(
|
||||||
{
|
{
|
||||||
case Ndis802_11AuthModeOpen:
|
case Ndis802_11AuthModeOpen:
|
||||||
return "OPEN";
|
return "OPEN";
|
||||||
#if defined(RT2860) || defined(RT30xx)
|
|
||||||
default:
|
|
||||||
#endif
|
|
||||||
case Ndis802_11AuthModeWPAPSK:
|
case Ndis802_11AuthModeWPAPSK:
|
||||||
return "WPAPSK";
|
return "WPAPSK";
|
||||||
case Ndis802_11AuthModeShared:
|
case Ndis802_11AuthModeShared:
|
||||||
|
@ -2742,14 +2739,10 @@ PCHAR RTMPGetRalinkAuthModeStr(
|
||||||
return "WPAPSKWPA2PSK";
|
return "WPAPSKWPA2PSK";
|
||||||
case Ndis802_11AuthModeWPA1WPA2:
|
case Ndis802_11AuthModeWPA1WPA2:
|
||||||
return "WPA1WPA2";
|
return "WPA1WPA2";
|
||||||
#ifndef RT30xx
|
|
||||||
case Ndis802_11AuthModeWPANone:
|
case Ndis802_11AuthModeWPANone:
|
||||||
return "WPANONE";
|
return "WPANONE";
|
||||||
#ifdef RT2870
|
|
||||||
default:
|
default:
|
||||||
return "UNKNOW";
|
return "UNKNOW";
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue