forked from Ivasoft/openwrt
lantiq: fix avm fritz box mac addresses
It has been shown that the Fritz boxes have the correct mac address set in the wireless calibration data/eeeprom. Use this mac address as base for the ethernet and xdsl interface increment/decrement the address to match the values stored in the tffs. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
@@ -138,13 +138,8 @@ case "$FIRMWARE" in
|
||||
ath9k_eeprom_extract "calibration" 61440 0
|
||||
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot-env ethaddr) +2) 524
|
||||
;;
|
||||
FRITZ3370)
|
||||
FRITZ3370|FRITZ7320|FRITZ7360SL)
|
||||
ath9k_eeprom_extract "urlader" 2437 0
|
||||
ath9k_patch_fw_mac "00:00:00:00:00:00" 2
|
||||
;;
|
||||
FRITZ7320|FRITZ7360SL)
|
||||
ath9k_eeprom_extract "urlader" 2437 0
|
||||
ath9k_patch_fw_mac_crc "00:00:00:00:00:00" 268
|
||||
;;
|
||||
TDW8970|TDW8980)
|
||||
ath9k_eeprom_extract "boardconfig" 135168 0
|
||||
|
||||
Reference in New Issue
Block a user