* [PATCH] rtl8180: Fix to add STA mode
@ 2008-12-21 21:40 Larry Finger
2008-12-22 6:56 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Larry Finger @ 2008-12-21 21:40 UTC (permalink / raw)
To: John W Linville; +Cc: linux-wireless
To be compatible with mac80211 following commit 3fc7826b95521 (mac80211:
only create default STA interface if supported), rtl8180 needs to set
NL80211_IFTYPE_STATION in interface_modes.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: Fabio Rossi <rossi.f@inwind.it>
Tested-by: Piter PUNK <piterpunk@unitednerds.org>
---
John,
This patch should be included with the 2.6.29 material.
Larry
---
Index: wireless-testing/drivers/net/wireless/rtl818x/rtl8180_dev.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/rtl818x/rtl8180_dev.c
+++ wireless-testing/drivers/net/wireless/rtl818x/rtl8180_dev.c
@@ -898,6 +898,7 @@ static int __devinit rtl8180_probe(struc
dev->flags = IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
IEEE80211_HW_RX_INCLUDES_FCS |
IEEE80211_HW_SIGNAL_UNSPEC;
+ dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
dev->queues = 1;
dev->max_signal = 65;
---
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] rtl8180: Fix to add STA mode
2008-12-21 21:40 [PATCH] rtl8180: Fix to add STA mode Larry Finger
@ 2008-12-22 6:56 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2008-12-22 6:56 UTC (permalink / raw)
To: Larry Finger; +Cc: John W Linville, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]
On Sun, 2008-12-21 at 15:40 -0600, Larry Finger wrote:
> To be compatible with mac80211 following commit 3fc7826b95521 (mac80211:
> only create default STA interface if supported), rtl8180 needs to set
> NL80211_IFTYPE_STATION in interface_modes.
>
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
> Reported-by: Fabio Rossi <rossi.f@inwind.it>
> Tested-by: Piter PUNK <piterpunk@unitednerds.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
obviously. I didn't know we'd missed an in-tree driver when adding the
interface_modes thing, thanks.
> ---
>
> John,
>
> This patch should be included with the 2.6.29 material.
>
> Larry
> ---
>
> Index: wireless-testing/drivers/net/wireless/rtl818x/rtl8180_dev.c
> ===================================================================
> --- wireless-testing.orig/drivers/net/wireless/rtl818x/rtl8180_dev.c
> +++ wireless-testing/drivers/net/wireless/rtl818x/rtl8180_dev.c
> @@ -898,6 +898,7 @@ static int __devinit rtl8180_probe(struc
> dev->flags = IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
> IEEE80211_HW_RX_INCLUDES_FCS |
> IEEE80211_HW_SIGNAL_UNSPEC;
> + dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
> dev->queues = 1;
> dev->max_signal = 65;
>
> ---
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-22 6:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-21 21:40 [PATCH] rtl8180: Fix to add STA mode Larry Finger
2008-12-22 6:56 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox