[openwrt/openwrt] mac80211: enable ATH9K_HWRNG

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 5 10:14:04 PST 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d650ca9247d84b23d84ece38a3aa3114af6f0577

commit d650ca9247d84b23d84ece38a3aa3114af6f0577
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Tue Feb 14 19:31:03 2023 -0800

    mac80211: enable ATH9K_HWRNG
    
    in kernel 5.17, fcd09c90c3c5254b18ef34e30c57c65d34290a84 integrated it
    better with thee random framework.
    
    Gives boot time randomness on supported devices.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/kernel/mac80211/ath.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk
index 4f14fec8e2..dc08df4f6f 100644
--- a/package/kernel/mac80211/ath.mk
+++ b/package/kernel/mac80211/ath.mk
@@ -225,7 +225,7 @@ define KernelPackage/ath9k/config
 		bool "Add wireless noise as source of randomness to kernel entropy pool"
 		depends on PACKAGE_kmod-ath9k
 		select PACKAGE_kmod-random-core
-		default n
+		default y
 
 	config ATH9K_SUPPORT_PCOEM
 		bool "Support chips used in PC OEM cards"
@@ -377,7 +377,7 @@ endef
 define KernelPackage/ar5523
   $(call KernelPackage/mac80211/Default)
   TITLE:=Driver for Atheros AR5523 USB sticks
-  DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core 
+  DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ar5523/ar5523.ko
   AUTOLOAD:=$(call AutoProbe,ar5523)
 endef




More information about the lede-commits mailing list