Commit f64768be authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Johannes Berg
Browse files

wifi: rt2x00: fix CRC_CCITT dependency



Compile-testing this driver on Arm platforms shows a link failure
when the CRC functions are not part of the kernel:

x86_64-linux-ld: drivers/net/wireless/ralink/rt2x00/rt2800lib.o: in function `rt2800_check_firmware':
rt2800lib.c:(.text+0x20e5): undefined reference to `crc_ccitt'

Move the select statement to the correct Kconfig symbol to match
the call site.

Fixes: 311b05e2 ("wifi: rt2x00: add COMPILE_TEST")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarStanislaw Gruszka <stf_xl@wp.pl>
Reviewed-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://patch.msgid.link/20250731075837.1969136-1-arnd@kernel.org


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 2d52c9e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment