Skip to contentSkip to conversation

staging: rtl8723bs: select CONFIG_CRYPTO_LIB_ARC4

PATCH In review Arnd Bergmann 2 participants 2 messages Jul 21, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: select CONFIG_CRYPTO_LIB_ARC4

From: Arnd Bergmann <[email protected]>

The other rtlwifi drivers already have this, but r8723bs was converted to the generic implementation without adding the select:

ERROR: modpost: "arc4_crypt" [drivers/staging/rtl8723bs/r8723bs.ko] undefined!
ERROR: modpost: "arc4_setkey" [drivers/staging/rtl8723bs/r8723bs.ko] undefined!

Fixes 1b11e893eda0 ("staging: rtl8723bs: replace private arc4 encryption with in-kernel one")
---
 drivers/staging/rtl8723bs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/rtl8723bs/Kconfig +1 -0
index a88467334dac..7eae820eae3b 100644
@@ -5,6 +5,7 @@ config RTL8723BS
 	depends on m
 	select WIRELESS_EXT
 	select WEXT_PRIV
+	select CRYPTO_LIB_ARC4
 	help
 	This option enables support for RTL8723BS SDIO drivers, such as
 	the wifi found on the 1st gen Intel Compute Stick, the CHIP
Signature · 1 line
2.29.2
Acked-by on v1 1/1
#1 lore raw
Quoted 30 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The other rtlwifi drivers already have this, but r8723bs was converted to the generic implementation without adding the select:

ERROR: modpost: "arc4_crypt" [drivers/staging/rtl8723bs/r8723bs.ko] undefined!
ERROR: modpost: "arc4_setkey" [drivers/staging/rtl8723bs/r8723bs.ko] undefined!

Fixes 1b11e893eda0 ("staging: rtl8723bs: replace private arc4 encryption with in-kernel one")
---
 drivers/staging/rtl8723bs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/rtl8723bs/Kconfig +1 -0
index a88467334dac..7eae820eae3b 100644
@@ -5,6 +5,7 @@ config RTL8723BS
 	depends on m
 	select WIRELESS_EXT
 	select WEXT_PRIV
+	select CRYPTO_LIB_ARC4
 	help
 	This option enables support for RTL8723BS SDIO drivers, such as
 	the wifi found on the 1st gen Intel Compute Stick, the CHIP
Signature · 1 line
2.29.2

thank you,

fabio