]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ath79: meraki-mr18: fix MAC address offset after NVMEM switch 23486/head
authorLech Perczak <lech.perczak@gmail.com>
Sat, 23 May 2026 00:29:10 +0000 (02:29 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 23 May 2026 16:42:22 +0000 (18:42 +0200)
commitb9cbc0846a93aa443d66fe5ebb7c3b61e040a2f6
tree326b3c41ccfcb5de56dc46cb2e309bf2df94cc15
parent417df7debf0ab4d3157df5b57a743639e2eb5646
ath79: meraki-mr18: fix MAC address offset after NVMEM switch

The following commit: 27a673916c35 ("ath79: mr18: use nvmem for MACs")
switched MR18 to use NVMEM subsystem for setting MAC addresses, however
it missed the offset in use. Previously 102 (decimal) was used, but in
device tree 0x102 was used, but the correct value is 0x66.

This was found while reviewing code for Z1 port, which shares the MAC
address source.
Replace the offset with the correct one of 0x66.

Fixes: 27a673916c35 ("ath79: mr18: use nvmem for MACs")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23486
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ath79/dts/qca9557_meraki_mr18.dts