lantiq: use BT HomeHub 5 Type A OEM partition layout
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 12-ath9k-eeprom
index 8185bf1949e6cf0caa7127ec76be23648f3ec44b..2776275ea258c9d388f673b1a90a63c384b52201 100644 (file)
@@ -115,7 +115,8 @@ case "$FIRMWARE" in
                                ath9k_patch_firmware_mac $(macaddr_add $(mtd_get_mac_ascii uboot-env ethaddr) +2) 268 1 258
                                ;;
                        BTHOMEHUBV5A)
-                               ath9k_eeprom_extract "caldata" 4096
+                               ath9k_ubi_eeprom_extract "caldata" 4096
+                               ath9k_patch_firmware_mac $(macaddr_add $(mtd_get_mac_binary_ubi caldata 4364) +2) 268 0 258
                                ;;
                        DGN3500*)
                                ath9k_eeprom_extract "calibration" 61440