Skip to contentSkip to conversation

mac80211: fix mesh beaconing

PATCH In review Luis Carlos Cobo 2 participants 2 messages Jul 29, 2008 – Jul 30, 2008 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: fix mesh beaconing

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

---
 net/mac80211/mlme.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/mac80211/mlme.c +1 -0
index 8f51375..9c451eb 100644
@@ -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
 
Signature · 1 line
1.5.4.3
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Luis Carlos Cobo

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

Thanks.

Quoted 1 line
Quoted 16 lines
---
 net/mac80211/mlme.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/mac80211/mlme.c +1 -0
index 8f51375..9c451eb 100644
@@ -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