ath79: Speed up caldata/eeprom handling
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 4061aa67eb12915028ed1f7db8a750b3ed031b24..72a768c554f347d9a3675e20416767aabe91a30a 100644 (file)
@@ -81,7 +81,7 @@ ath9k_patch_fw_mac() {
                        dd of=/lib/firmware/$FIRMWARE conv=notrunc bs=1 seek=$chksum_offset count=2
        }
 
-       macaddr_2bin $mac | dd of=/lib/firmware/$FIRMWARE conv=notrunc bs=1 seek=$mac_offset count=6
+       macaddr_2bin $mac | dd of=/lib/firmware/$FIRMWARE conv=notrunc oflag=seek_bytes bs=6 seek=$mac_offset count=1
 }
 
 ath9k_patch_fw_mac_crc() {