diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp index 93043ef1..d31918c7 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -248,7 +248,6 @@ void endSection(int fd, const std::string §ionName, timepoint_t startTime) { Dumpstate::Dumpstate() : mTextSections{ { "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } }, - { "wlan", [this](int fd) { dumpWlanSection(fd); } }, { "memory", [this](int fd) { dumpMemorySection(fd); } }, { "Devfreq", [this](int fd) { dumpDevfreqSection(fd); } }, { "cpu", [this](int fd) { dumpCpuSection(fd); } }, @@ -320,12 +319,6 @@ void Dumpstate::dumpTextSection(int fd, const std::string §ionName) { "not avalable from the command line.\n", fd); } -// Dump items related to wlan -void Dumpstate::dumpWlanSection(int fd) { - RunCommandToFd(fd, "WLAN Debug Dump", {"/vendor/bin/sh", "-c", - "cat /sys/wifi/dump_start"}); -} - // Dump items related to power and battery void Dumpstate::dumpPowerSection(int fd) { struct stat buffer; diff --git a/dumpstate/Dumpstate.h b/dumpstate/Dumpstate.h index 19314302..12497d5c 100644 --- a/dumpstate/Dumpstate.h +++ b/dumpstate/Dumpstate.h @@ -47,7 +47,6 @@ class Dumpstate : public BnDumpstateDevice { // Text sections that can be dumped individually on the command line in // addition to being included in full dumps - void dumpWlanSection(int fd); void dumpPowerSection(int fd); void dumpThermalSection(int fd); void dumpPreTouchSection(int fd);