aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorChukun Pan <amadeus@jmu.edu.cn>2022-01-09 12:16:06 +0800
committerSungbo Eo <mans0n@gorani.run>2022-03-13 12:39:58 +0900
commit285e636b1665f0f238da072c497f150f9acc4b54 (patch)
tree872d3915d1bfa34ed62ae29c3daca7d263bfb11b /target/linux/ramips/mt7621
parentb3da44b6471dbfb3b71201a80f8844a3bc71ee35 (diff)
downloadupstream-285e636b1665f0f238da072c497f150f9acc4b54.tar.gz
upstream-285e636b1665f0f238da072c497f150f9acc4b54.tar.bz2
upstream-285e636b1665f0f238da072c497f150f9acc4b54.zip
ramips: update WLAN MAC address of Phicomm K2P
The wireless mac address difference of this machine is similar to that of D-Link DIR-853-R1, so use the same practice. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac3
1 files changed, 2 insertions, 1 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 7b6827b79a..9a002d24c8 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
@@ -15,7 +15,8 @@ case "$board" in
macaddr_setbit_la "$(mtd_get_mac_binary factory 0xe000)" \
> /sys${DEVPATH}/macaddress
;;
- dlink,dir-853-r1)
+ dlink,dir-853-r1|\
+ phicomm,k2p)
if [ "$PHYNBR" = "0" ]; then
base_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x4)" -1)
macaddr_setbit_la "$base_mac" > /sys${DEVPATH}/macaddress