From: Johannes Berg <johannes.b...@intel.com>

As mac80211 now needs rhashtable, include it in backports.
For now, it actually depends on mac80211 and is selected
for kernels < 4.1 -- it existed in previous kernels but
with different API, so cannot be used from there easily.

Signed-off-by: Johannes Berg <johannes.b...@intel.com>
---
 backport/compat/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index aadf246896e9..8fcdb8a96bb3 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -135,3 +135,12 @@ config BPAUTO_BUILD_WANT_DEV_COREDUMP
        default y if BPAUTO_WANT_DEV_COREDUMP
        #h-file linux/devcoredump.h
        #c-file drivers/base/devcoredump.c
+
+config BPAUTO_RHASHTABLE
+       bool
+       # current API of rhashtable was introduced in version 4.1
+       depends on KERNEL_4_1
+       # not very nice - but better than always having it
+       default y if MAC80211
+       #h-file linux/rhashtable.h
+       #c-file lib/rhashtable.c
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to