]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: select CONFIG_CRYPTO_LIB_AES
author谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Sat, 22 Feb 2025 19:36:17 +0000 (19:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 14:10:20 +0000 (07:10 -0700)
This fixes the following issue:
ERROR: modpost: "aes_expandkey" [drivers/staging/rtl8723bs/r8723bs.ko]
undefined!
ERROR: modpost: "aes_encrypt" [drivers/staging/rtl8723bs/r8723bs.ko]
undefined!

Fixes: 7d40753d8820 ("staging: rtl8723bs: use in-kernel aes encryption in OMAC1 routines")
Fixes: 3d3a170f6d80 ("staging: rtl8723bs: use in-kernel aes encryption")
Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/tencent_0BDDF3A721708D16A2E7C3DAFF0FEC79A105@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/Kconfig

index 8d48c61961a6b72b5e8d58edc307bc6044336783..353e6ee2c145087bde022624e003db422b38ca90 100644 (file)
@@ -4,6 +4,7 @@ config RTL8723BS
        depends on WLAN && MMC && CFG80211
        depends on m
        select CRYPTO
+       select CRYPTO_LIB_AES
        select CRYPTO_LIB_ARC4
        help
        This option enables support for RTL8723BS SDIO drivers, such as