Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/main.c | 2 ++ 1 file changed, 2 insertions(+) --- wireless-testing.orig/net/mac80211/main.c 2009-02-06 14:36:09.000000000 +0100 +++ wireless-testing/net/mac80211/main.c 2009-02-06 14:45:25.000000000 +0100 @@ -210,6 +210,8 @@ int ieee80211_if_config(struct ieee80211 !!rcu_dereference(sdata->u.ap.beacon); break; case NL80211_IFTYPE_ADHOC: + conf.enable_beacon = !!sdata->u.sta.probe_resp; + break; case NL80211_IFTYPE_MESH_POINT: conf.enable_beacon = true; break; -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html