diff options
Diffstat (limited to 'target/linux/mpc85xx/base-files/etc/hotplug.d')
-rw-r--r-- | target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index b02c891cbf..dc66226d7b 100644 --- a/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -9,8 +9,8 @@ ath9k_eeprom_die() { ath9k_eeprom_extract() { local part=$1 - local offset=$2 - local count=$3 + local offset=$(($2)) + local count=$(($3)) local mtd mtd=$(find_mtd_chardev $part) @@ -43,7 +43,7 @@ case "$FIRMWARE" in "pci_wmac0.eeprom") case $board in tplink,tl-wdr4900-v1) - ath9k_eeprom_extract "caldata" 4096 2048 + ath9k_eeprom_extract "caldata" 0x1000 0x800 tpl_set_wireless_mac 0 ;; *) @@ -55,7 +55,7 @@ case "$FIRMWARE" in "pci_wmac1.eeprom") case $board in tplink,tl-wdr4900-v1) - ath9k_eeprom_extract "caldata" 20480 2048 + ath9k_eeprom_extract "caldata" 0x5000 0x800 tpl_set_wireless_mac -1 ;; *) |