From: Johannes Berg <johannes@sipsolutions.net>
To: John Linville <linville@tuxdriver.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: [PATCH] mac80211: disable IBSS beacon before join
Date: Fri, 06 Feb 2009 15:29:46 +0100 [thread overview]
Message-ID: <1233930586.4175.11.camel@johannes.local> (raw)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
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;
next reply other threads:[~2009-02-06 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-06 14:29 Johannes Berg [this message]
2009-02-06 14:58 ` [PATCH] mac80211: disable IBSS beacon before join Larry Finger
2009-02-06 20:48 ` Johannes Berg
2009-02-07 14:14 ` [PATCH v2] " Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1233930586.4175.11.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).