mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
packages/bsp/common: use iw instead of iwconfig (#3995)
Use iw to handle wifi power management instead of legacy iwconfig. Also fix udev rule to use kernel name (%k) instead of hardcoded name.
This commit is contained in:
@@ -1 +1 @@
|
||||
KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iwconfig wlan0 power off"
|
||||
KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iw dev %k set power_save off"
|
||||
|
||||
Reference in New Issue
Block a user