* [PATCH] rt2x00: Need to set wiphy->interface_modes
@ 2008-08-29 18:25 Ivo van Doorn
2008-08-29 19:37 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Ivo van Doorn @ 2008-08-29 18:25 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, rt2400-devel, Stephen Blackheath
Hi Johannes,
Below patch was created by Stephen Blackheath.
Could you merge this patch with your patch: 008-cfg80211-interface-types.patch
This is the required rt2x00 change for registering the supported interface types.
Thanks,
Ivo
---
Signed-off-by: Stephen Blackheath <tramp.enshrine.stephen@blacksapphire.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
---
drivers/net/wireless/rt2x00/rt2x00dev.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index 5278ae2..b363fad 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -1052,6 +1052,11 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev)
*/
rt2x00dev->hw->vif_data_size = sizeof(struct rt2x00_intf);
+ rt2x00dev->hw->wiphy->interface_modes =
+ BIT(NL80211_IFTYPE_AP) |
+ BIT(NL80211_IFTYPE_STATION) |
+ BIT(NL80211_IFTYPE_ADHOC);
+
/*
* Let the driver probe the device to detect the capabilities.
*/
--
1.5.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] rt2x00: Need to set wiphy->interface_modes
2008-08-29 18:25 [PATCH] rt2x00: Need to set wiphy->interface_modes Ivo van Doorn
@ 2008-08-29 19:37 ` Johannes Berg
2008-08-29 20:12 ` Luis R. Rodriguez
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2008-08-29 19:37 UTC (permalink / raw)
To: Ivo van Doorn; +Cc: linux-wireless, rt2400-devel, Stephen Blackheath
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
On Fri, 2008-08-29 at 20:25 +0200, Ivo van Doorn wrote:
> Hi Johannes,
>
> Below patch was created by Stephen Blackheath.
>
> Could you merge this patch with your patch: 008-cfg80211-interface-types.patch
> This is the required rt2x00 change for registering the supported interface types.
Thanks, I'd hoped somebody else would pick it up, but if not I'll do it
in a week.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] rt2x00: Need to set wiphy->interface_modes
2008-08-29 19:37 ` Johannes Berg
@ 2008-08-29 20:12 ` Luis R. Rodriguez
0 siblings, 0 replies; 3+ messages in thread
From: Luis R. Rodriguez @ 2008-08-29 20:12 UTC (permalink / raw)
To: Johannes Berg
Cc: Ivo van Doorn, linux-wireless, rt2400-devel, Stephen Blackheath
On Fri, Aug 29, 2008 at 12:37 PM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Fri, 2008-08-29 at 20:25 +0200, Ivo van Doorn wrote:
>> Hi Johannes,
>>
>> Below patch was created by Stephen Blackheath.
>>
>> Could you merge this patch with your patch: 008-cfg80211-interface-types.patch
>> This is the required rt2x00 change for registering the supported interface types.
>
> Thanks, I'd hoped somebody else would pick it up, but if not I'll do it
> in a week.
I picked it up, and sent it all together as *one* patch.
Luis
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-29 20:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 18:25 [PATCH] rt2x00: Need to set wiphy->interface_modes Ivo van Doorn
2008-08-29 19:37 ` Johannes Berg
2008-08-29 20:12 ` Luis R. Rodriguez
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).