treewide: convert MAC address location offsets to hexadecimal
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
index b58cf9b591f47c394c4c4b4a21e114e16af2da21..f93a9f745bb58bc45b2c0a7f096344750b845ee9 100644 (file)
@@ -17,7 +17,7 @@ case "$board" in
        archer-c59-v2|\
        archer-c60-v1|\
        archer-c60-v2)
-               echo $(macaddr_add $(mtd_get_mac_binary mac 8)  $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress
+               echo $(macaddr_add $(mtd_get_mac_binary mac 0x8)  $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress
                ;;
        *)
                ;;