From 8ec34cb6d30403a2d6f4f85d12fe62758dfb06ec Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 14 Jun 2015 17:41:27 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45958 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3