forked from Ivasoft/openwrt
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user