2008-07-29 18:03:54

by Luis Carlos Cobo

[permalink] [raw]
Subject: [PATCH] mac80211: fix mesh beaconing

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

Signed-off-by: Luis Carlos Cobo <[email protected]>
---
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





2008-07-30 07:17:40

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] mac80211: fix mesh beaconing

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 <[email protected]>

Acked-by: Johannes Berg <[email protected]>

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


Attachments:
signature.asc (836.00 B)
This is a digitally signed message part