lantiq: remove lantiq_board_name, use the generic function instead
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 12-ath9k-eeprom
index 1c6b0663fa1c83bb059694c4bdce88209fcdba3e..6b9d23a7996c0a89e815c90d486b62561a83adce 100644 (file)
@@ -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)