diff --git a/packages/bsp/common/etc/udev/rules.d/10-wifi-disable-powermanagement.rules b/packages/bsp/common/etc/udev/rules.d/10-wifi-disable-powermanagement.rules index ea6d1aef4e3b..bc8faf666bec 100644 --- a/packages/bsp/common/etc/udev/rules.d/10-wifi-disable-powermanagement.rules +++ b/packages/bsp/common/etc/udev/rules.d/10-wifi-disable-powermanagement.rules @@ -1 +1 @@ -KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iw dev %k set power_save off" +SUBSYSTEM=="net", ACTION!="remove", ENV{DEVTYPE}=="wlan", RUN+="/usr/sbin/iw dev $name set power_save off"