Staging: wlan-ng: fix build error if wireless networking is not enabled
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Oct 2008 21:32:33 +0000 (14:32 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 16:56:35 +0000 (09:56 -0700)
Thanks to Ingo for pointing this out.

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/Kconfig

index 10b1f0f634d374b06742149863e9e7c20956e902..2425d860dcaf674357626d9e2d408437e9f24281 100644 (file)
@@ -1,6 +1,6 @@
 config PRISM2_USB
        tristate "Prism2.5 USB driver"
-       depends on USB
+       depends on WLAN_80211 && USB
        default n
        ---help---
          This is the wlan-ng prism 2.5 USB driver for a wide range of