treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
index 7d2eca546d76b771b12026788510f73a293a9a93..77c835f2fd895fca3bdf4449c1c0d64cc8c0a695 100644 (file)
@@ -6,10 +6,10 @@ PHYNBR=${DEVPATH##*/phy}
 
 [ -n $PHYNBR ] || exit 0
 
-. /lib/ar71xx.sh
+. /lib/functions.sh
 . /lib/functions/system.sh
 
-board=$(ar71xx_board_name)
+board=$(board_name)
 
 case "$board" in
        archer-c58-v1)