aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChukun Pan <amadeus@jmu.edu.cn>2022-01-10 12:28:40 +0800
committerSungbo Eo <mans0n@gorani.run>2022-03-13 12:39:58 +0900
commit7fa227ead5246cfa61b38888b2394d433ad66f36 (patch)
tree5857e979c0b341a26789d7a44a398b40d49ebffb /target
parent285e636b1665f0f238da072c497f150f9acc4b54 (diff)
downloadupstream-7fa227ead5246cfa61b38888b2394d433ad66f36.tar.gz
upstream-7fa227ead5246cfa61b38888b2394d433ad66f36.tar.bz2
upstream-7fa227ead5246cfa61b38888b2394d433ad66f36.zip
ramips: update WLAN MAC address of JCG Y2
MAC addresses on OEM firmware: 04:xx:xx:xx:xx:c8 factory 0x4 wlan2g 06:xx:xx:xx:xx:c8 [not on flash] wlan5g Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
index 9a002d24c8..f2daac990b 100644
--- a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
+++ b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
@@ -43,6 +43,10 @@ case "$board" in
[ "$PHYNBR" = "1" ] && \
macaddr_setbit_la "$(mtd_get_mac_binary Factory 0x4)" > /sys${DEVPATH}/macaddress
;;
+ jcg,y2)
+ [ "$PHYNBR" = "1" ] && \
+ macaddr_setbit_la "$(mtd_get_mac_binary factory 0x4)" > /sys${DEVPATH}/macaddress
+ ;;
linksys,e5600|\
linksys,ea6350-v4|\
linksys,ea7300-v1|\