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

Commit ae17b739 authored by Kenny's avatar Kenny Committed by Steve Kondik
Browse files

Fix the ssid display issue

Reproduce steps:
1. Set a special AP name that contains "=" (looks like "-=^-^=-");
2. Connect to this AP;
3. The display of ssid will be incorrect;

Change-Id: Idc7433a42cf59932f5fb147f5500e0175f745399
parent b9543d70
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1475,7 +1475,7 @@ public class WifiStateTracker extends NetworkStateTracker {
        int netId = -1;
        int netId = -1;
        String[] lines = reply.split("\n");
        String[] lines = reply.split("\n");
        for (String line : lines) {
        for (String line : lines) {
            String[] prop = line.split(" *= *");
            String[] prop = line.split(" *= *", 2);
            if (prop.length < 2)
            if (prop.length < 2)
                continue;
                continue;
            String name = prop[0];
            String name = prop[0];