aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-03-26 10:53:35 +0200
committerMathias Kresin <dev@kresin.me>2017-05-05 19:59:18 +0200
commitd49920e45044dfb635a93f317e5b965b5c8afdad (patch)
tree2805b0028169e03ef244f729b57af2a886e49345 /target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
parent79cd14152c4478620eb0280fec9816f39e8a0dc5 (diff)
downloadupstream-d49920e45044dfb635a93f317e5b965b5c8afdad.tar.gz
upstream-d49920e45044dfb635a93f317e5b965b5c8afdad.tar.bz2
upstream-d49920e45044dfb635a93f317e5b965b5c8afdad.zip
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>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom')
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom7
1 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
index 1c6b0663fa..26b5551754 100644
--- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
@@ -139,13 +139,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