Skip to contentSkip to conversation

staging/otus: Add select WEXT_PRIV to Kconfig to prevent build failure

PATCH Superseded Peter Huewe 2 participants 10 messages Jan 7, 2010 – Jan 8, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 staging/otus: Add select WEXT_PRIV to Kconfig to prevent build failure

From: Peter Huewe <[email protected]>
Date: Thu, 7 Jan 2010 21:13:55 +0100

Without WEXT_PRIV set the driver 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

---
Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010

drivers/staging/otus/Kconfig | 2 ++

 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/staging/otus/Kconfig +2 -0
index f6cc262..409e01c 100644
@@ -1,6 +1,8 @@
 config OTUS
 	tristate "Atheros OTUS 802.11n USB wireless support"
 	depends on USB && WLAN && MAC80211
+    select WIRELESS_EXT
+    select WEXT_PRIV
 	default N
 	---help---
 	  Enable support for Atheros 802.11n USB hardware:
Signature · 1 line
1.6.4.4
#1 lore raw

PATCH 2/3 staging/rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure

From: Peter Huewe <[email protected]>
Date: Thu, 7 Jan 2010 21:19:11 +0100

Without WEXT_PRIV set the driver 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

---
Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010

 drivers/staging/rtl8192u/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/rtl8192u/Kconfig +1 -0
index 9913ab8..8e5eb92 100644
@@ -2,5 +2,6 @@ config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
 	depends on WIRELESS_EXT
+    select WEXT_PRIV
 	default N
 	---help---
Signature · 1 line
1.6.4.4
#2 lore raw

PATCH 3/3 staging/wlan-ng: Add select WEXT_PRIV to Kconfig to prevent build failure

From: Peter Huewe <[email protected]>
Date: Thu, 7 Jan 2010 21:21:35 +0100

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

---
Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010

 drivers/staging/wlan-ng/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/wlan-ng/Kconfig +1 -0
index 704ebd2..82fcc16 100644
@@ -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
Signature · 1 line
1.6.4.4
Acked-by on v1 3/3
#3 lore raw

Re: [PATCH 3/3] staging/wlan-ng: Add select WEXT_PRIV to Kconfig to prevent build failure

Quoted 9 lines · Peter Huewe

From: Peter Huewe <[email protected]>
Date: Thu, 7 Jan 2010 21:21:35 +0100

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

Looks good to me.

Quoted 27 lines

---
Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010

 drivers/staging/wlan-ng/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/wlan-ng/Kconfig +1 -0
index 704ebd2..82fcc16 100644
@@ -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
Signature · 9 lines
1.6.4.4



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#4 lore raw

PATCH v2 2/3 staging/rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure

In reply to Peter Huewe

From: Peter Huewe <[email protected]>
Date: Fri, 8 Jan 2010 09:10:13 +0100

Without WEXT_PRIV set the driver 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

---
This time without whitespace error - sorry about that.

 drivers/staging/rtl8192u/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/rtl8192u/Kconfig +1 -0
index 9913ab8..d7bc35c 100644
@@ -2,5 +2,6 @@ config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
 	depends on WIRELESS_EXT
+	select WEXT_PRIV
 	default N
 	---help---
Signature · 1 line
1.6.4.4
Acked-by on v2 2/3
#5 lore raw

Re: [PATCH 2/3 v2] staging/rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure

Quoted 9 lines · Peter Hüwe

From: Peter Huewe <[email protected]>
Date: Fri, 8 Jan 2010 09:10:13 +0100

Without WEXT_PRIV set the driver 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

depends on WIRELESS_EXT should be select WIRELESS_EXT. Do you want to handle that?

Quoted 19 lines

---
This time without whitespace error - sorry about that.

 drivers/staging/rtl8192u/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/rtl8192u/Kconfig +1 -0
index 9913ab8..d7bc35c 100644
@@ -2,5 +2,6 @@ config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
 	depends on WIRELESS_EXT
+	select WEXT_PRIV
 	default N
 	---help---
Signature · 1 line
1.6.4.4
author Acked-by Simon Horman
#6 lore raw

Re: [PATCH 2/3 v3] staging/rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure

From: Peter Huewe <[email protected]>
Date: Fri, 8 Jan 2010 09:10:13 +0100

Without WEXT_PRIV set the driver 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

---
 drivers/staging/rtl8192u/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/staging/rtl8192u/Kconfig +2 -1
index 9913ab8..0439c90 100644
@@ -1,6 +1,7 @@
 config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
-	depends on WIRELESS_EXT
+	select WIRELESS_EXT
+	select WEXT_PRIV
 	default N
 	---help---
Signature · 1 line
1.6.4.4
#7 lore raw
In reply to Peter Huewe
Quoted 20 lines · Peter Huewe

From: Peter Huewe <[email protected]>
Date: Thu, 7 Jan 2010 21:13:55 +0100

Without WEXT_PRIV set the driver 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

---
Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010

drivers/staging/otus/Kconfig | 2 ++

 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/staging/otus/Kconfig +0 -0
index f6cc262..409e01c 100644

drivers/staging/otus/Kconfig line 8

Quoted 8 lines
drivers/staging/otus/Kconfig +2 -0
@@ -1,6 +1,8 @@
 config OTUS
 	tristate "Atheros OTUS 802.11n USB wireless support"
 	depends on USB && WLAN && MAC80211
+    select WIRELESS_EXT
+    select WEXT_PRIV
 	default N
 	---help---
 	  Enable support for Atheros 802.11n USB hardware:

Indentation seems to be broken here and in the next patch - 4 spaces instead of a tab.

#8 lore raw

PATCH v2 1/3 staging/otus: Add select WEXT_PRIV to Kconfig to prevent build failure

In reply to Peter Huewe

From: Peter Huewe <[email protected]>
Date: Fri, 8 Jan 2010 09:09:12 +0100

Without WEXT_PRIV set the driver 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

---
This time without whitespace/indention errors. Sorry about that.

 drivers/staging/otus/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/staging/otus/Kconfig +2 -0
index f6cc262..e918134 100644
@@ -1,6 +1,8 @@
 config OTUS
 	tristate "Atheros OTUS 802.11n USB wireless support"
 	depends on USB && WLAN && MAC80211
+	select WIRELESS_EXT
+	select WEXT_PRIV
 	default N
 	---help---
 	  Enable support for Atheros 802.11n USB hardware:
Signature · 1 line
1.6.4.4
Acked-by on v2 1/3
#9 lore raw
Quoted 9 lines · Peter Hüwe

From: Peter Huewe <[email protected]>
Date: Fri, 8 Jan 2010 09:09:12 +0100

Without WEXT_PRIV set the driver 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

Quoted 22 lines

---
This time without whitespace/indention errors. Sorry about that.

 drivers/staging/otus/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/staging/otus/Kconfig +2 -0
index f6cc262..e918134 100644
@@ -1,6 +1,8 @@
 config OTUS
 	tristate "Atheros OTUS 802.11n USB wireless support"
 	depends on USB && WLAN && MAC80211
+	select WIRELESS_EXT
+	select WEXT_PRIV
 	default N
 	---help---
 	  Enable support for Atheros 802.11n USB hardware:
Signature · 1 line
1.6.4.4