projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: convert MAC address location offsets to hexadecimal
[openwrt/staging/yousong.git]
/
target
/
linux
/
mpc85xx
/
base-files
/
etc
/
hotplug.d
/
firmware
/
10-ath9k-eeprom
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 3e6488b4c7635b929c349f8177635832592aafa5..b02c891cbf0e30fec942a71bbd467c8ca754eefe 100644
(file)
--- 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
@@
-26,7
+26,7
@@
tpl_set_wireless_mac()
local offset=$1
local mac
- mac=$(mtd_get_mac_binary u-boot
326656
)
+ mac=$(mtd_get_mac_binary u-boot
0x4fc00
)
mac=$(macaddr_add $mac $offset)
macaddr_2bin $mac | dd bs=1 count=6 seek=2 conv=notrunc of=$FW_FILE 2>/dev/null