mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	ath79: improve MAC address configuration of ELECOM devices
Get MAC address of WAN from HW.WAN.MAC.Address in hwconfig partition instead of calculated one from wlan's address. And added label_mac. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
		
							parent
							
								
									961d4230f4
								
							
						
					
					
						commit
						48bb71ff28
					
				@ -634,7 +634,8 @@ ath79_setup_macs()
 | 
			
		||||
		;;
 | 
			
		||||
	elecom,wrc-1750ghbk2-i|\
 | 
			
		||||
	elecom,wrc-300ghbk2-i)
 | 
			
		||||
		wan_mac=$(macaddr_add "$(mtd_get_mac_binary art 0x1002)" -2)
 | 
			
		||||
		wan_mac=$(mtd_get_mac_ascii hwconfig "HW.WAN.MAC.Address")
 | 
			
		||||
		label_mac=$wan_mac
 | 
			
		||||
		;;
 | 
			
		||||
	engenius,ecb1200|\
 | 
			
		||||
	engenius,ecb1750)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user