mirror of https://github.com/hak5/openwrt.git
ar71xx: fix 82_patch_ath10k
It has been broken since the new ath10k firmware introduced in r44656. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 45624lede-17.01
parent
af9672cfde
commit
4babe9dc6d
|
@ -5,14 +5,14 @@
|
||||||
|
|
||||||
|
|
||||||
do_patch_ath10k_firmware() {
|
do_patch_ath10k_firmware() {
|
||||||
local firmware_file="/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin"
|
local firmware_file="/lib/firmware/ath10k/QCA988X/hw2.0/firmware-4.bin"
|
||||||
|
|
||||||
# bail out if firmware does not exist
|
# bail out if firmware does not exist
|
||||||
[ -f "$firmware_file" ] || {
|
[ -f "$firmware_file" ] || {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
local firmware_md5_orig="5163aa8de591f80b06c77f22e9777473"
|
local firmware_md5_orig="ab36ef267d15cfc02317ceeb38e8f548"
|
||||||
local firmware_md5_current="$(md5sum $firmware_file)"
|
local firmware_md5_current="$(md5sum $firmware_file)"
|
||||||
local firmware_md5_current="${firmware_md5_current%% *}"
|
local firmware_md5_current="${firmware_md5_current%% *}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue