diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index dbaef9aa..b5b1d424 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -252,7 +252,6 @@ void endSection(int fd, const std::string §ionName, timepoint_t startTime) { DumpstateDevice::DumpstateDevice() : mTextSections{ { "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } }, - { "wlan", [this](int fd) { dumpWlanSection(fd); } }, { "soc", [this](int fd) { dumpSocSection(fd); } }, { "storage", [this](int fd) { dumpStorageSection(fd); } }, { "memory", [this](int fd) { dumpMemorySection(fd); } }, @@ -304,12 +303,6 @@ void DumpstateDevice::dumpTextSection(int fd, const std::string §ionName) { "not avalable from the command line.\n", fd); } -// Dump items related to wlan -void DumpstateDevice::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 DumpstateDevice::dumpPowerSection(int fd) { struct stat buffer; diff --git a/dumpstate/DumpstateDevice.h b/dumpstate/DumpstateDevice.h index 5cc32491..a6be31b9 100644 --- a/dumpstate/DumpstateDevice.h +++ b/dumpstate/DumpstateDevice.h @@ -61,7 +61,6 @@ struct DumpstateDevice : public IDumpstateDevice { // 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);