backport: CCM: set correct dependencies
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 May 2014 09:22:06 +0000 (11:22 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:14 +0000 (00:16 +0200)
If these aren't actually compiled in, then the mac80211
code will fail at runtime. Add these dependencies so we
at least get a warning at compile time about this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/compat/Kconfig

index 5af74337c43aae5c987bb80fed471fe2a6938781..026b3f378f5b98b2fb88ee45dcc097b5c43b9954 100644 (file)
@@ -128,6 +128,8 @@ config BACKPORT_USERSEL_BUILD_ALL
          you probably shouldn't enable it.
 
 config BACKPORT_CRYPTO_CCM
+       depends on CRYPTO_AEAD
+       depends on CRYPTO_CTR
        bool
 
 config BACKPORT_BUILD_CRYPTO_CCM