cfg80211: select CONFIG_CRC32
authorArnd Bergmann <arnd@arndb.de>
Sun, 3 Jan 2021 21:36:21 +0000 (22:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2021 23:50:36 +0000 (15:50 -0800)
Without crc32 support, this fails to link:

arm-linux-gnueabi-ld: net/wireless/scan.o: in function `cfg80211_scan_6ghz':
scan.c:(.text+0x928): undefined reference to `crc32_le'

Fixes: c8cb5b854b40 ("nl80211/cfg80211: support 6 GHz scanning")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wireless/Kconfig

index 27026f587fa618c0e2f7e148700807aa120224f1..f620acd2a0f5e2cda436358d2b6c8eebad8e9d4b 100644 (file)
@@ -21,6 +21,7 @@ config CFG80211
        tristate "cfg80211 - wireless configuration API"
        depends on RFKILL || !RFKILL
        select FW_LOADER
+       select CRC32
        # may need to update this when certificates are changed and are
        # using a different algorithm, though right now they shouldn't
        # (this is here rather than below to allow it to be a module)