diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 17:41:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 17:41:27 +0000 |
commit | 008a0ebc560ec3a36e8042b30f3804974bd83600 (patch) | |
tree | 50df170f08e9baf8b0c4f78d8649d492de02213c /target | |
parent | 39b8f7c0f7692e5971534a1571c92b91933e5882 (diff) | |
download | mtk-20170518-008a0ebc560ec3a36e8042b30f3804974bd83600.zip mtk-20170518-008a0ebc560ec3a36e8042b30f3804974bd83600.tar.gz mtk-20170518-008a0ebc560ec3a36e8042b30f3804974bd83600.tar.bz2 |
ar71xx: fix mac offset in firmware file
In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280).
This also closes #19751, bug introduced in #45624
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 45958
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k b/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k index 88ca1e9..4511162 100644 --- a/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k +++ b/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k @@ -29,7 +29,7 @@ do_patch_ath10k_firmware() { cp $firmware_file /tmp/ath10k-firmware.bin macaddr_2bin $mac | dd of=/tmp/ath10k-firmware.bin \ - conv=notrunc bs=1 seek=280 count=6 + conv=notrunc bs=1 seek=276 count=6 ;; esac |