diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-05-26 10:57:11 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2010-05-26 10:57:11 -0700 |
commit | 631e0f163abbec84b755706eca8e9ede2cf0e41a (patch) | |
tree | c976cee32a832a0be64d67bef857c7a59751540e /cmds | |
parent | ffa5de2e07473e3cdd4c0a1d9a99f30b34567bd4 (diff) | |
download | frameworks_base-631e0f163abbec84b755706eca8e9ede2cf0e41a.zip frameworks_base-631e0f163abbec84b755706eca8e9ede2cf0e41a.tar.gz frameworks_base-631e0f163abbec84b755706eca8e9ede2cf0e41a.tar.bz2 |
bugreport: wifi: Add list of networks
Change-Id: I0271bf1f2cac874c1801658a81a3dcf7533da781
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 082e704..1fde437 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -103,6 +103,9 @@ static void dumpstate() { dump_file("NETWORK ROUTES", "/proc/net/route"); dump_file("ARP CACHE", "/proc/net/arp"); + run_command("WIFI NETWORKS", 20, + "su", "root", "wpa_cli", "list_networks", NULL); + #ifdef FWDUMP_bcm4329 run_command("DUMP WIFI FIRMWARE LOG", 60, "su", "root", "dhdutil", "-i", "eth0", "upload", "/data/local/tmp/wlan_crash.dump", NULL); |