Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 784d53e7 authored by Chia-chi Yeh's avatar Chia-chi Yeh
Browse files

WifiService: allow EAP variables to be unset using empty strings.

parent a9938c4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -923,7 +923,7 @@ public class WifiService extends IWifiManager.Stub {
                String value = field.value();
                if (value != null) {
                    if (field != config.eap) {
                        value = convertToQuotedString(value);
                        value = (value.length() == 0) ? "NULL" : convertToQuotedString(value);
                    }
                    if (!WifiNative.setNetworkVariableCommand(
                                netId,