batman-adv: Move CRC16 dependency to BATMAN_ADV_BLA
authorSven Eckelmann <sven@narfation.org>
Sun, 14 Oct 2018 15:16:14 +0000 (17:16 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 12 Nov 2018 09:41:51 +0000 (10:41 +0100)
commitfb939135a6cf77a26831d23e6d22e4b9602cfce7
treeedf8eb5eb63a2459241335269d6bbcda403b4674
parentd2d489b7d851785dd4833880d31d80bd70ffa6c3
batman-adv: Move CRC16 dependency to BATMAN_ADV_BLA

The commit ced72933a5e8 ("batman-adv: use CRC32C instead of CRC16 in TT
code") switched the translation table code from crc16 to crc32c. The
(optional) bridge loop avoidance code is the only user of this function.

batman-adv should only select CRC16 when it is actually using it.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/Kconfig