treewide: convert MAC address location offsets to hexadecimal
[openwrt/staging/yousong.git] / target / linux / ath79 / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
index d9c3fe7440a0902d0a613cf46e54591c1e4ea487..3e1cfda84db4b10dd4e299a6ab84719f6ce9a33d 100644 (file)
@@ -40,7 +40,7 @@ case "$board" in
                        mtd_get_mac_text mac 4 > /sys${DEVPATH}/macaddress
                # set the 5G interface mac address to WAN MAC + 1
                [ "$PHYNBR" -eq 0 ] && \
-                       macaddr_add "$(mtd_get_mac_text mac 24)" 1 > /sys${DEVPATH}/macaddress
+                       macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress
                 ;;
        *)
                ;;