Browse Source

Staging: wlan-ng: Add select WEXT_PRIV to Kconfig to prevent build failure

Without WEXT_PRIV set the p80211wext.c fails to build due to unknown fields in
the iw_handler_def struct.
Those fields are enclosed in WEXT_PRIV conditionals in the prototype
of iw_handler_def in include/net/iw_handler.h

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Simon Horman <horms@verge.net.au>
Cc: stable <stable@kernel.org>  [2.6.33 only]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Peter Huewe 15 years ago
parent
commit
8a8e29752d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/staging/wlan-ng/Kconfig

+ 1 - 0
drivers/staging/wlan-ng/Kconfig

@@ -2,6 +2,7 @@ config PRISM2_USB
 	tristate "Prism2.5/3 USB driver"
 	depends on WLAN && USB
 	select WIRELESS_EXT
+	select WEXT_PRIV
 	default n
 	---help---
 	  This is the wlan-ng prism 2.5/3 USB driver for a wide range of