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

Commit baccb91e authored by Kenny's avatar Kenny Committed by Jean-Baptiste Queru
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 9451e71c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1373,7 +1373,7 @@ public class WifiStateTracker extends NetworkStateTracker {
        int netId = -1;
        String[] lines = reply.split("\n");
        for (String line : lines) {
            String[] prop = line.split(" *= *");
            String[] prop = line.split(" *= *", 2);
            if (prop.length < 2)
                continue;
            String name = prop[0];