[OpenWrt-Devel] [PATCH] mac80211: install new firmware for ath9k-htc on target

Felix Fietkau nbd at openwrt.org
Fri Nov 27 10:44:35 EST 2015


On 2015-11-27 16:36, Alexey Brodkin wrote:
> For quite some time new firmware for ath9k-htc devices
> is available in
> http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/
> 
> Moreover ath9k-htc kernel driver expects this new v1.4
> firmware to exist in /lib/firmware/ath9k_htc.
> [...]
>  package/kernel/mac80211/Makefile | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
> index 4b4f774..7165fc3 100644
> --- a/package/kernel/mac80211/Makefile
> +++ b/package/kernel/mac80211/Makefile
> @@ -1828,6 +1828,11 @@ define KernelPackage/ath9k-htc/install
>  		$(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_9271.fw \
>  		$(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_7010.fw \
>  		$(1)/lib/firmware/
> +	$(INSTALL_DIR) $(1)/lib/firmware/ath9k_htc
> +	$(INSTALL_DATA) \
> +		$(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ath9k_htc/htc_9271-1.4.0.fw \
> +		$(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ath9k_htc/htc_7010-1.4.0.fw \
> +		$(1)/lib/firmware/ath9k_htc
>  endef
Please remove the install commands for the old firmware.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list