X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fmpc85xx%2Fbase-files%2Fetc%2Fhotplug.d%2Ffirmware%2F10-ath9k-eeprom;h=4b5b7a30ba9665776d4b3647bddd691a4b3ccda8;hb=f12a32630ff52b5e13397f64e9fb31708e97fb60;hp=0baec28859da1f5fc9b1f4855f97289e192bea71;hpb=ced05ca9e092817f2f4d4fe25c5c56700838a3ad;p=openwrt%2Fstaging%2Fmkresin.git diff --git a/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 0baec28859..4b5b7a30ba 100644 --- a/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -13,9 +13,6 @@ ath9k_eeprom_extract() { local count=$3 local mtd - . /lib/functions.sh - . /lib/functions/system.sh - mtd=$(find_mtd_chardev $part) [ -n "$mtd" ] || \ ath9k_eeprom_die "no mtd device found for partition $part" @@ -29,9 +26,6 @@ tpl_set_wireless_mac() local offset=$1 local mac - . /lib/functions.sh - . /lib/functions/system.sh - mac=$(mtd_get_mac_binary u-boot 326656) mac=$(macaddr_add $mac $offset) @@ -40,9 +34,10 @@ tpl_set_wireless_mac() [ -e $FW_FILE ] && exit 0 -. /lib/mpc85xx.sh +. /lib/functions.sh +. /lib/functions/system.sh -board=$(mpc85xx_board_name) +board=$(board_name) case "$FIRMWARE" in "pci_wmac0.eeprom")