]> err.no Git - linux-2.6/commitdiff
mac80211: fix mesh beaconing
authorLuis Carlos Cobo <luisca@cozybit.com>
Tue, 29 Jul 2008 17:59:31 +0000 (19:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Jul 2008 20:55:09 +0000 (16:55 -0400)
This patch fixes mesh beaconing, which was broken by "mac80211: revamp
beacon configuration".

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c

index 35eb767cbcbec7f9911f1c76a2558acf7c8330ae..acb04133a95dc699735fcb1932fe16a64b4d720a 100644 (file)
@@ -3299,6 +3299,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