mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 18:02:00 -04:00
wifi: Don't touch debug_mask
It was causing throughput issues and wasn't needed
This commit is contained in:
parent
154775b3cc
commit
a200d42450
1 changed files with 1 additions and 6 deletions
|
@ -125,17 +125,12 @@ async fn restart_iwd(connection: Connection) -> Result<()> {
|
|||
|
||||
async fn stop_tracing() -> Result<()> {
|
||||
run_script(TRACE_CMD_PATH, &["stop"]).await?;
|
||||
Ok(fs::write(path("/sys/module/ath11k/parameters/debug_mask"), b"0\n").await?)
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn start_tracing(buffer_size: u32) -> Result<()> {
|
||||
// Start tracing
|
||||
let size_str = buffer_size.to_string();
|
||||
fs::write(
|
||||
path("/sys/module/ath11k/parameters/debug_mask"),
|
||||
b"0xffffefff\n",
|
||||
)
|
||||
.await?;
|
||||
run_script(
|
||||
TRACE_CMD_PATH,
|
||||
&["start", "-e", "ath11k_wmi_diag", "-b", &size_str],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue