diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-03-17 16:21:30 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 14:54:44 +0100 |
commit | 8be5b12ea10687455d61a3d98ad5ff41e751af12 (patch) | |
tree | 8f5346129e9aa0efa28c56346d15b9b65b2bb001 /target/linux/lantiq/base-files/etc/hotplug.d | |
parent | 0f0d742ae35523d300667c7a39874fd4fcfdde89 (diff) | |
download | upstream-8be5b12ea10687455d61a3d98ad5ff41e751af12.tar.gz upstream-8be5b12ea10687455d61a3d98ad5ff41e751af12.tar.bz2 upstream-8be5b12ea10687455d61a3d98ad5ff41e751af12.zip |
lantiq: remove lantiq_board_name, use the generic function instead
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 7e798dab56546d6f8e2fe0f913ff41e8f010af51)
Diffstat (limited to 'target/linux/lantiq/base-files/etc/hotplug.d')
-rw-r--r-- | target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 3 | ||||
-rw-r--r-- | target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 2511ed6014..1c2b8456fc 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -5,7 +5,6 @@ . /lib/functions.sh . /lib/functions/system.sh -. /lib/functions/lantiq.sh . /lib/upgrade/nand.sh ath10k_caldata_die() { @@ -37,7 +36,7 @@ ath10k_caldata_set_macaddr() { case "$FIRMWARE" in "ath10k/cal-pci-0000:02:00.0.bin") - board=$(lantiq_board_name) + board=$(board_name) case $board in BTHOMEHUBV5A) ath10k_caldata_extract_ubi "caldata" 20480 2116 diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom index 26b5551754..7144423d43 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom @@ -5,7 +5,6 @@ . /lib/functions.sh . /lib/functions/system.sh -. /lib/functions/lantiq.sh . /lib/upgrade/nand.sh # xor multiple hex values of the same length @@ -114,7 +113,7 @@ case "$FIRMWARE" in "ath9k-eeprom-pci-0000:00:0e.0.bin" | \ "ath9k-eeprom-pci-0000:01:00.0.bin" | \ "ath9k-eeprom-pci-0000:02:00.0.bin") - board=$(lantiq_board_name) + board=$(board_name) case "$board" in ARV7518PW) |