mirror of https://github.com/hak5/openwrt.git
ath79: fix patching ath9k MAC address for MyNet WiFi Range Extender
The code line patching ath9k MAC address for this device contains a wrong number of arguments including an unset "$mac", which looks like a typo or copy/paste mistake. This has been introduced already in the device support commitopenwrt-19.07745dee11ac
("ath79: add support for WD My Net Wi-Fi Range Extender"). This patch just removes the "$mac" argument, leaving a formally valid line. (No on-device test has been performed.) Cc: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit6b53033783
)
parent
081d96bece
commit
77d8efe80e
|
@ -188,7 +188,7 @@ case "$FIRMWARE" in
|
|||
;;
|
||||
wd,mynet-wifi-rangeextender)
|
||||
ath9k_eeprom_extract "art" 4096 4096
|
||||
ath9k_patch_fw_mac $(nvram get wl0_hwaddr) "$mac" 2
|
||||
ath9k_patch_fw_mac $(nvram get wl0_hwaddr) 2
|
||||
;;
|
||||
*)
|
||||
ath9k_eeprom_die "board $board is not supported yet"
|
||||
|
|
Loading…
Reference in New Issue