From 712cb29b4d677c235636f7bdff776660937bc8df Mon Sep 17 00:00:00 2001 From: Roger Wang Date: Tue, 1 Nov 2022 13:34:44 +0800 Subject: [PATCH] wifi: remove unnecessary debug dump Since design was adjusted, we are no longer need to cat dump_start when bugreport be triggered. Bug: 256746618 Test: Trigger bugreport and check debug files. Change-Id: I1c381a1e0a9bd0611b804c3dd9364eb48e8d4e49 Signed-off-by: Roger Wang --- dumpstate/Dumpstate.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp index 757ea6de..5c3e9cd1 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -284,9 +284,6 @@ void Dumpstate::dumpTextSection(int fd, const std::string §ionName) { // 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 firmware symbol table for firmware log decryption DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc"); }