aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-07 10:29:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-07 10:29:47 +0000
commit4a9ea80ef06472204b66ab037179455a47a98c9e (patch)
treebb2c6f63cce25b73251af6e825c7550ae5dfa90a /target/linux/mpc85xx
parente700dcaf0493e0ea159594ba8b7b70ab1242ee18 (diff)
downloadupstream-4a9ea80ef06472204b66ab037179455a47a98c9e.tar.gz
upstream-4a9ea80ef06472204b66ab037179455a47a98c9e.tar.bz2
upstream-4a9ea80ef06472204b66ab037179455a47a98c9e.zip
/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40411
Diffstat (limited to 'target/linux/mpc85xx')
-rw-r--r--target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom2
1 files changed, 2 insertions, 0 deletions
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 a6f9c918fe..0baec28859 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
@@ -14,6 +14,7 @@ ath9k_eeprom_extract() {
local mtd
. /lib/functions.sh
+ . /lib/functions/system.sh
mtd=$(find_mtd_chardev $part)
[ -n "$mtd" ] || \
@@ -29,6 +30,7 @@ tpl_set_wireless_mac()
local mac
. /lib/functions.sh
+ . /lib/functions/system.sh
mac=$(mtd_get_mac_binary u-boot 326656)
mac=$(macaddr_add $mac $offset)