cleanup: Use spaces for indentation
Our indentation style has always mandated spaces, but over the years some tabs sneaked in. Fix up those places. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/608
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
6f8dd065a4
commit
5ec4c2e43e
@ -943,14 +943,14 @@ class NMWirelessDialog extends ModalDialog.ModalDialog {
|
||||
if (rsnFlags != NM80211ApSecurityFlags.NONE) {
|
||||
/* RSN check first so that WPA+WPA2 APs are treated as RSN/WPA2 */
|
||||
if (rsnFlags & NM80211ApSecurityFlags.KEY_MGMT_802_1X)
|
||||
type = NMAccessPointSecurity.WPA2_ENT;
|
||||
else if (rsnFlags & NM80211ApSecurityFlags.KEY_MGMT_PSK)
|
||||
type = NMAccessPointSecurity.WPA2_PSK;
|
||||
type = NMAccessPointSecurity.WPA2_ENT;
|
||||
else if (rsnFlags & NM80211ApSecurityFlags.KEY_MGMT_PSK)
|
||||
type = NMAccessPointSecurity.WPA2_PSK;
|
||||
} else if (wpaFlags != NM80211ApSecurityFlags.NONE) {
|
||||
if (wpaFlags & NM80211ApSecurityFlags.KEY_MGMT_802_1X)
|
||||
type = NMAccessPointSecurity.WPA_ENT;
|
||||
else if (wpaFlags & NM80211ApSecurityFlags.KEY_MGMT_PSK)
|
||||
type = NMAccessPointSecurity.WPA_PSK;
|
||||
type = NMAccessPointSecurity.WPA_PSK;
|
||||
} else {
|
||||
if (flags & NM80211ApFlags.PRIVACY)
|
||||
type = NMAccessPointSecurity.WEP;
|
||||
|
Reference in New Issue
Block a user