Revert "ath79: elecom,wab: use nvmem"
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Wed, 27 Nov 2024 01:31:35 +0000 (10:31 +0900)
committerRobert Marko <robimarko@gmail.com>
Fri, 29 Nov 2024 14:02:48 +0000 (15:02 +0100)
commitaf611bce44d3dcffd47c47f46b95400445498be9
treef63b492922e7a02f13f4f769ef2e3dd2f92f55ea
parent39b0f081ecaf4fb9acc622d694dc52293a4dda1f
Revert "ath79: elecom,wab: use nvmem"

This reverts commit 70e41d0205d95386881fa1cdf6ee00f6cca1b3f6.

"ethaddr" is stored into the "u-boot-env" (stock: "Config") partition
and it's quoted with double-quotations, but that format is not supported
by the current NVMEM u-boot-env driver (and mac_pton() function) and the
MAC address won't be parsed to byte array.
This causes random MAC addresses on the adapters, so revert the above
commit.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17116
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ath79/dts/qca955x_elecom_wab.dtsi
target/linux/ath79/generic/base-files/etc/board.d/02_network
target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac