From ef63521323be64ab863ed093855c8d0ad68e20d0 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 5 Jun 2017 08:39:59 -0700 Subject: [PATCH] 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 --- cmds/dumpstate/dumpstate.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 745361c444..3c583b0d0c 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -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()); -- 2.11.0