2010-01-07 20:33:27

by Peter Huewe

[permalink] [raw]
Subject: [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

Signed-off-by: Peter Huewe <[email protected]>
---
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(-)

diff --git a/drivers/staging/otus/Kconfig b/drivers/staging/otus/Kconfig
index f6cc262..409e01c 100644
--- a/drivers/staging/otus/Kconfig
+++ b/drivers/staging/otus/Kconfig
@@ -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:
--
1.6.4.4


2010-01-07 20:35:20

by Peter Huewe

[permalink] [raw]
Subject: [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


Signed-off-by: Peter Huewe <[email protected]>
---
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(-)

diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig
index 9913ab8..8e5eb92 100644
--- a/drivers/staging/rtl8192u/Kconfig
+++ b/drivers/staging/rtl8192u/Kconfig
@@ -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---
--
1.6.4.4

2010-01-07 20:36:43

by Peter Huewe

[permalink] [raw]
Subject: [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

Signed-off-by: Peter Huewe <[email protected]>
---
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(-)

diff --git a/drivers/staging/wlan-ng/Kconfig b/drivers/staging/wlan-ng/Kconfig
index 704ebd2..82fcc16 100644
--- a/drivers/staging/wlan-ng/Kconfig
+++ b/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
--
1.6.4.4


2010-01-08 00:35:33

by Simon Horman

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

On Thu, Jan 07, 2010 at 09:36:38PM +0100, Peter Huewe wrote:
> 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
>
> Signed-off-by: Peter Huewe <[email protected]>

Looks good to me.

Acked-by: Simon Horman <[email protected]>

> ---
> 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(-)
>
> diff --git a/drivers/staging/wlan-ng/Kconfig b/drivers/staging/wlan-ng/Kconfig
> index 704ebd2..82fcc16 100644
> --- a/drivers/staging/wlan-ng/Kconfig
> +++ b/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
> --
> 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/

2010-01-08 00:37:51

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH 1/3] staging/otus: Add select WEXT_PRIV to Kconfig to prevent build failure

On Thu, Jan 07, 2010 at 09:33:20PM +0100, Peter Huewe wrote:
> 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
>
> Signed-off-by: Peter Huewe <[email protected]>
> ---
> 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(-)
>
> diff --git a/drivers/staging/otus/Kconfig b/drivers/staging/otus/Kconfig
> index f6cc262..409e01c 100644
> --- a/drivers/staging/otus/Kconfig
> +++ b/drivers/staging/otus/Kconfig
> @@ -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.

2010-01-08 08:13:30

by Peter Huewe

[permalink] [raw]
Subject: [PATCH 1/3 v2] staging/otus: Add select WEXT_PRIV to Kconfig to prevent build failure

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

Signed-off-by: Peter Huewe <[email protected]>
---
This time without whitespace/indention errors. Sorry about that.

drivers/staging/otus/Kconfig | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/otus/Kconfig b/drivers/staging/otus/Kconfig
index f6cc262..e918134 100644
--- a/drivers/staging/otus/Kconfig
+++ b/drivers/staging/otus/Kconfig
@@ -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:
--
1.6.4.4

2010-01-08 08:14:45

by Peter Huewe

[permalink] [raw]
Subject: [PATCH 2/3 v2] 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

Signed-off-by: Peter Huewe <[email protected]>
---
This time without whitespace error - sorry about that.

drivers/staging/rtl8192u/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig
index 9913ab8..d7bc35c 100644
--- a/drivers/staging/rtl8192u/Kconfig
+++ b/drivers/staging/rtl8192u/Kconfig
@@ -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---
--
1.6.4.4

2010-01-08 10:18:28

by Simon Horman

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

On Fri, Jan 08, 2010 at 09:14:38AM +0100, Peter Hüwe wrote:
> 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
>
> Signed-off-by: Peter Huewe <[email protected]>

Acked-by: Simon Horman <[email protected]>

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

> ---
> This time without whitespace error - sorry about that.
>
> drivers/staging/rtl8192u/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig
> index 9913ab8..d7bc35c 100644
> --- a/drivers/staging/rtl8192u/Kconfig
> +++ b/drivers/staging/rtl8192u/Kconfig
> @@ -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---
> --
> 1.6.4.4

2010-01-08 10:18:38

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH 1/3 v2] staging/otus: Add select WEXT_PRIV to Kconfig to prevent build failure

On Fri, Jan 08, 2010 at 09:13:19AM +0100, Peter Hüwe wrote:
> 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
>
> Signed-off-by: Peter Huewe <[email protected]>

Acked-by: Simon Horman <[email protected]>

> ---
> This time without whitespace/indention errors. Sorry about that.
>
> drivers/staging/otus/Kconfig | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/otus/Kconfig b/drivers/staging/otus/Kconfig
> index f6cc262..e918134 100644
> --- a/drivers/staging/otus/Kconfig
> +++ b/drivers/staging/otus/Kconfig
> @@ -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:
> --
> 1.6.4.4
>

2010-01-08 10:44:45

by Peter Huewe

[permalink] [raw]
Subject: 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

Signed-off-by: Peter Huewe <[email protected]>
Acked-by: Simon Horman <[email protected]>
---
drivers/staging/rtl8192u/Kconfig | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig
index 9913ab8..0439c90 100644
--- a/drivers/staging/rtl8192u/Kconfig
+++ b/drivers/staging/rtl8192u/Kconfig
@@ -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---
--
1.6.4.4