aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware')
-rw-r--r--target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/11-ath10k-caldata2
-rw-r--r--target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 4202187d4f..c555aa2c12 100644
--- a/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -10,7 +10,7 @@ case "$FIRMWARE" in
case $board in
bt,homehub-v5a)
caldata_extract_ubi "caldata" 0x5000 0x844
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary_ubi caldata 0x110c) +3)
+ ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary_ubi caldata 0x110c) 3)
;;
*)
caldata_die "board $board is not supported yet"
diff --git a/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom b/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
index 03664b3fd3..09d26f7f85 100644
--- a/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
+++ b/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
@@ -29,7 +29,7 @@ case "$FIRMWARE" in
;;
bt,homehub-v5a)
caldata_extract_ubi "caldata" 0x1000 0x1000
- ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary_ubi caldata 0x110c) +2) 0x10c
+ ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary_ubi caldata 0x110c) 2) 0x10c
;;
tplink,tdw8970|\
tplink,tdw8980)