From d5531824f544298f63c5246e8679edde0c5b4125 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Mon, 30 Sep 2024 18:13:01 +0200 Subject: [PATCH] Switch from wireless-tools in disabling power management --- packages/bsp/99disable-power-management | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bsp/99disable-power-management b/packages/bsp/99disable-power-management index 341a269d8ab1..f3ced3f62cce 100644 --- a/packages/bsp/99disable-power-management +++ b/packages/bsp/99disable-power-management @@ -1,5 +1,5 @@ #!/bin/sh case "$2" in - up) /sbin/iwconfig $1 power off || true ;; - down) /sbin/iwconfig $1 power on || true ;; + up) iw dev $1 set power_save off || true ;; + down) iw dev $1 set power_save on || true ;; esac