projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use the generic board_name function
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
hotplug.d
/
ieee80211
/
10_fix_wifi_mac
diff --git
a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
b/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
index 7d2eca546d76b771b12026788510f73a293a9a93..77c835f2fd895fca3bdf4449c1c0d64cc8c0a695 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
+++ b/
target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
@@
-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)