diff options
author | Bjoern Dobe <bjoern@dobecom.de> | 2020-07-24 08:48:39 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-25 22:01:34 +0200 |
commit | d38d345c72e9783361a413411a3814f7d096fc7b (patch) | |
tree | 47572fa86b5738219920d19f3309d9e2a8d2fadf | |
parent | ab78694fe88bf0d65952c13a53ea14e92eb7885f (diff) | |
download | upstream-d38d345c72e9783361a413411a3814f7d096fc7b.tar.gz upstream-d38d345c72e9783361a413411a3814f7d096fc7b.tar.bz2 upstream-d38d345c72e9783361a413411a3814f7d096fc7b.zip |
ath79: mikrotik: use base mac on lan for RBwAPG-5HacT2HnD
The Mikrotik RBwAPG-5HacT2HnD has only a single ethernet interface
(lan), and the vendor uses the base (label) MAC address for it.
Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
[commit title/message improvement]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rwxr-xr-x | target/linux/ath79/mikrotik/base-files/etc/board.d/02_network | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network b/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network index 96e0f5610a..5d87e88beb 100755 --- a/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network +++ b/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network @@ -34,6 +34,10 @@ ath79_setup_macs() local mac_base="$(cat /sys/firmware/mikrotik/hard_config/mac_base)" case "$board" in + mikrotik,routerboard-wap-g-5hact2hnd) + label_mac="$mac_base" + lan_mac="$mac_base" + ;; *) label_mac="$mac_base" wan_mac="$mac_base" |