mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
mediatek: fix typo
Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
0dd5505a17
commit
9fa4aa63c5
@ -14,7 +14,7 @@ case "$board" in
|
||||
CI_UBIPART="UBI_DEV"
|
||||
addr=$(mtd_get_mac_binary_ubi "Factory" 0x4)
|
||||
# Originally, phy0 is phy1 mac with LA bit set. However, this would conflict
|
||||
# addresses on mutiple VIFs with the other radio. Set LA bit and increment
|
||||
# addresses on multiple VIFs with the other radio. Set LA bit and increment
|
||||
# mac-address instead.
|
||||
[ "$PHYNBR" = "0" ] && macaddr_setbit_la $(macaddr_add $addr 1) > /sys${DEVPATH}/macaddress
|
||||
[ "$PHYNBR" = "1" ] && echo "$addr" > /sys${DEVPATH}/macaddress
|
||||
|
Loading…
x
Reference in New Issue
Block a user