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

Commit ef635213 authored by Roshan Pius's avatar Roshan Pius
Browse files

dumpstate: Remove wpa_cli usage

List of saved networks is dumped out by WifiConfigManager during
bugreport collection. The 'wpa_cli` command in dumpstate.cpp is
non-functional since the saved networks are no longer saved in
wpa_supplicant.

Bug: 62068865
Test: Collected bugreport and ensured that there are no wpa_cli errors.
Change-Id: I0080bf10dafcbd187fcf583232ce64dd3868d818
parent 21850d83
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1161,8 +1161,6 @@ static void dumpstate() {
    RunCommand("ARP CACHE", {"ip", "-4", "neigh", "show"});
    RunCommand("IPv6 ND CACHE", {"ip", "-6", "neigh", "show"});
    RunCommand("MULTICAST ADDRESSES", {"ip", "maddr"});
    RunCommand("WIFI NETWORKS", {"wpa_cli", "IFNAME=wlan0", "list_networks"},
               CommandOptions::WithTimeout(20).Build());

    RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"},
               CommandOptions::WithTimeout(10).Build());