diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-10-14 14:05:31 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2019-10-21 13:20:24 +0200 |
commit | 6b5303378315084bf080a6408c2ca5b2a911aa5d (patch) | |
tree | 1efbf001a79eac5aab266d62763e1097885049c3 /target/linux | |
parent | 09f46c6b541b2db1b16d03176f10f7ff589713c4 (diff) | |
download | upstream-6b5303378315084bf080a6408c2ca5b2a911aa5d.tar.gz upstream-6b5303378315084bf080a6408c2ca5b2a911aa5d.tar.bz2 upstream-6b5303378315084bf080a6408c2ca5b2a911aa5d.zip |
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 commit
745dee11ac78 ("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>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 2d760e2091..2cd46f8c28 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -111,7 +111,7 @@ case "$FIRMWARE" in ;; wd,mynet-wifi-rangeextender) caldata_extract "art" 0x1000 0x1000 - ath9k_patch_mac $(nvram get wl0_hwaddr) "$mac" + ath9k_patch_mac $(nvram get wl0_hwaddr) ;; *) caldata_die "board $board is not supported yet" |