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