linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about wireless configuration
@ 2010-11-04 13:36 Larry Finger
  2010-11-04 13:50 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Finger @ 2010-11-04 13:36 UTC (permalink / raw)
  To: Johannes Berg; +Cc: wireless

I am trying to test the latest Realtek driver for the RTL8187L. In order for the
driver to be able to scan, CONFIG_WIRELESS_EXT must be set to "y". I could find
no way to do that with the kernel configuration utilities until I made the
following patch. I know it is wrong, but I would like to know the correct way.

Thanks,

Larry



diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index d0ee290..c50af61 100644
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -1,5 +1,5 @@
 config WIRELESS_EXT
-       bool
+       def_bool y

 config WEXT_CORE
        def_bool y

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Question about wireless configuration
  2010-11-04 13:36 Question about wireless configuration Larry Finger
@ 2010-11-04 13:50 ` Johannes Berg
  2010-11-04 14:53   ` Larry Finger
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2010-11-04 13:50 UTC (permalink / raw)
  To: Larry Finger; +Cc: wireless

> I am trying to test the latest Realtek driver for the RTL8187L. In order
> for the driver to be able to scan, CONFIG_WIRELESS_EXT must be set to
> "y". I could find no way to do that with the kernel configuration
> utilities until I made the following patch. I know it is wrong, but I
> would like to know the correct way.

There is no correct way, drivers that need it will select it in kconfig which obviously doesn't work for out-of-tree drivers.

Johannes


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about wireless configuration
  2010-11-04 13:50 ` Johannes Berg
@ 2010-11-04 14:53   ` Larry Finger
  2010-11-04 19:33     ` Rafał Miłecki
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Finger @ 2010-11-04 14:53 UTC (permalink / raw)
  To: Johannes Berg; +Cc: wireless

On 11/04/2010 08:50 AM, Johannes Berg wrote:
>> I am trying to test the latest Realtek driver for the RTL8187L. In order
>> for the driver to be able to scan, CONFIG_WIRELESS_EXT must be set to
>> "y". I could find no way to do that with the kernel configuration
>> utilities until I made the following patch. I know it is wrong, but I
>> would like to know the correct way.
> 
> There is no correct way, drivers that need it will select it in kconfig which obviously doesn't work for out-of-tree drivers.

Thanks. I selected ZD1201 in the configuration, and WIRELESS_EXT is there.

Larry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about wireless configuration
  2010-11-04 14:53   ` Larry Finger
@ 2010-11-04 19:33     ` Rafał Miłecki
  0 siblings, 0 replies; 4+ messages in thread
From: Rafał Miłecki @ 2010-11-04 19:33 UTC (permalink / raw)
  To: Larry Finger; +Cc: Johannes Berg, wireless

2010/11/4 Larry Finger <Larry.Finger@lwfinger.net>:
> On 11/04/2010 08:50 AM, Johannes Berg wrote:
>>> I am trying to test the latest Realtek driver for the RTL8187L. In order
>>> for the driver to be able to scan, CONFIG_WIRELESS_EXT must be set to
>>> "y". I could find no way to do that with the kernel configuration
>>> utilities until I made the following patch. I know it is wrong, but I
>>> would like to know the correct way.
>>
>> There is no correct way, drivers that need it will select it in kconfig which obviously doesn't work for out-of-tree drivers.
>
> Thanks. I selected ZD1201 in the configuration, and WIRELESS_EXT is there.

Done the same for wl :) I think I just used ipw2200 driver, not ZD1201.

-- 
Rafał

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-04 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-04 13:36 Question about wireless configuration Larry Finger
2010-11-04 13:50 ` Johannes Berg
2010-11-04 14:53   ` Larry Finger
2010-11-04 19:33     ` Rafał Miłecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).