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:
parent
1b9be236a8
commit
c83b11cf14
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user