aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-14 17:41:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-14 17:41:27 +0000
commit008a0ebc560ec3a36e8042b30f3804974bd83600 (patch)
tree50df170f08e9baf8b0c4f78d8649d492de02213c /target
parent39b8f7c0f7692e5971534a1571c92b91933e5882 (diff)
downloadupstream-008a0ebc560ec3a36e8042b30f3804974bd83600.tar.gz
upstream-008a0ebc560ec3a36e8042b30f3804974bd83600.tar.bz2
upstream-008a0ebc560ec3a36e8042b30f3804974bd83600.zip
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_ath10k2
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 88ca1e97e7..4511162ac4 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