staging: rtl819x: select CONFIG_CRC32
authorArnd Bergmann <arnd@arndb.de>
Sun, 3 Jan 2021 21:40:28 +0000 (22:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jan 2021 14:27:22 +0000 (15:27 +0100)
Without crc32 support, the drivers fail to link:

ERROR: modpost: "crc32_le" [drivers/staging/rtl8192e/rtllib_crypt_wep.ko] undefined!
ERROR: modpost: "crc32_le" [drivers/staging/rtl8192e/rtllib_crypt_tkip.ko] undefined!
ERROR: modpost: "crc32_le" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210103214034.1995821-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/Kconfig
drivers/staging/rtl8192u/Kconfig

index 03fcc23..963a2ff 100644 (file)
@@ -3,6 +3,7 @@ config RTLLIB
        tristate "Support for rtllib wireless devices"
        depends on WLAN && m
        select LIB80211
+       select CRC32
        help
          If you have a wireless card that uses rtllib, say
          Y. Currently the only card is the rtl8192e.
index ef883d4..f3b112a 100644 (file)
@@ -5,6 +5,7 @@ config RTL8192U
        depends on m
        select WIRELESS_EXT
        select WEXT_PRIV
+       select CRC32
        select CRYPTO
        select CRYPTO_AES
        select CRYPTO_CCM