File tree Expand file tree Collapse file tree
Source/NETworkManager/Models/Network Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,13 +182,7 @@ public static string GetHumanReadableNetworkAuthenticationType(NetworkAuthentica
182182 string type = "-/-" ;
183183
184184 switch ( networkAuthenticationType )
185- {
186- case NetworkAuthenticationType . Ihv :
187- type = "-/-" ;
188- break ;
189- case NetworkAuthenticationType . None :
190- type = "-/-" ;
191- break ;
185+ {
192186 case NetworkAuthenticationType . Open80211 :
193187 type = "Open" ;
194188 break ;
@@ -198,22 +192,27 @@ public static string GetHumanReadableNetworkAuthenticationType(NetworkAuthentica
198192 case NetworkAuthenticationType . RsnaPsk :
199193 type = "WPA2 PSK" ;
200194 break ;
201- case NetworkAuthenticationType . SharedKey80211 :
202- type = "-/-" ;
203- break ;
204- case NetworkAuthenticationType . Unknown :
205- type = "Unkown" ;
206- break ;
207195 case NetworkAuthenticationType . Wpa :
208196 type = "WPA Enterprise" ;
209197 break ;
210198 case NetworkAuthenticationType . WpaNone :
211- type = "-/- " ;
199+ type = "WPA None " ;
212200 break ;
213201 case NetworkAuthenticationType . WpaPsk :
214202 type = "WPA PSK" ;
215203 break ;
216-
204+ case NetworkAuthenticationType . SharedKey80211 :
205+ type = "WEP" ;
206+ break ;
207+ case NetworkAuthenticationType . Ihv :
208+ type = "IHV" ;
209+ break ;
210+ case NetworkAuthenticationType . Unknown :
211+ type = "Unkown" ;
212+ break ;
213+ case NetworkAuthenticationType . None :
214+ type = "-/-" ;
215+ break ;
217216 }
218217
219218 return type ;
You can’t perform that action at this time.
0 commit comments