| @@ -14,7 +14,7 @@ case "$board" in | |||||||
| 		CI_UBIPART="UBI_DEV" | 		CI_UBIPART="UBI_DEV" | ||||||
| 		addr=$(mtd_get_mac_binary_ubi "Factory" 0x4) | 		addr=$(mtd_get_mac_binary_ubi "Factory" 0x4) | ||||||
| 		# Originally, phy0 is phy1 mac with LA bit set. However, this would conflict | 		# 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. | 		# mac-address instead. | ||||||
| 		[ "$PHYNBR" = "0" ] && macaddr_setbit_la $(macaddr_add $addr 1) > /sys${DEVPATH}/macaddress | 		[ "$PHYNBR" = "0" ] && macaddr_setbit_la $(macaddr_add $addr 1) > /sys${DEVPATH}/macaddress | ||||||
| 		[ "$PHYNBR" = "1" ] && echo "$addr" > /sys${DEVPATH}/macaddress | 		[ "$PHYNBR" = "1" ] && echo "$addr" > /sys${DEVPATH}/macaddress | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Bauer
					David Bauer