linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211: fix mesh beaconing
@ 2008-07-29 17:59 Luis Carlos Cobo
  2008-07-30  7:17 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Carlos Cobo @ 2008-07-29 17:59 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes, linville

This patch fixes mesh beaconing, which was broken by commit 1d22d3f6e3b (revamp
beacon configuration).

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
---
 net/mac80211/mlme.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 8f51375..9c451eb 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -3303,6 +3303,7 @@ void ieee80211_start_mesh(struct net_device *dev)
 	ifsta = &sdata->u.sta;
 	ifsta->state = IEEE80211_MESH_UP;
 	ieee80211_sta_timer((unsigned long)sdata);
+	ieee80211_if_config(sdata, IEEE80211_IFCC_BEACON);
 }
 #endif
 
-- 
1.5.4.3




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

* Re: [PATCH] mac80211: fix mesh beaconing
  2008-07-29 17:59 [PATCH] mac80211: fix mesh beaconing Luis Carlos Cobo
@ 2008-07-30  7:17 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2008-07-30  7:17 UTC (permalink / raw)
  To: Luis Carlos Cobo; +Cc: linux-wireless, linville

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

On Tue, 2008-07-29 at 19:59 +0200, Luis Carlos Cobo wrote:
> This patch fixes mesh beaconing, which was broken by commit 1d22d3f6e3b (revamp
> beacon configuration).

Thanks.

> Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>

Acked-by: Johannes Berg <johannes@sipsolutions.net>

> ---
>  net/mac80211/mlme.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
> index 8f51375..9c451eb 100644
> --- a/net/mac80211/mlme.c
> +++ b/net/mac80211/mlme.c
> @@ -3303,6 +3303,7 @@ void ieee80211_start_mesh(struct net_device *dev)
>  	ifsta = &sdata->u.sta;
>  	ifsta->state = IEEE80211_MESH_UP;
>  	ieee80211_sta_timer((unsigned long)sdata);
> +	ieee80211_if_config(sdata, IEEE80211_IFCC_BEACON);
>  }
>  #endif
>  

[-- 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-07-30  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 17:59 [PATCH] mac80211: fix mesh beaconing Luis Carlos Cobo
2008-07-30  7:17 ` Johannes Berg

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).