staging: rtl8188eu: Fix build error when CFG80211 is not selected
authorJakub Sitnicki <jsitnicki@gmail.com>
Wed, 23 Sep 2015 21:42:26 +0000 (23:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:27:22 +0000 (04:27 +0200)
The kbuild test robot reports the following build error for
i386-randconfig-c0-09230740:

>> ERROR: "ieee80211_hdrlen" [drivers/staging/rtl8188eu/r8188eu.ko] undefined!

Add a dependency on CFG80211 to fix it.

Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/Kconfig

index 5a38b41494088f27d684ce44293a4bac3585bfe2..94f38793ab47d45557447029491240d1165ca181 100644 (file)
@@ -1,6 +1,6 @@
 config R8188EU
        tristate "Realtek RTL8188EU Wireless LAN NIC driver"
-       depends on WLAN && USB
+       depends on WLAN && USB && CFG80211
        select WIRELESS_EXT
        select WEXT_PRIV
        ---help---