From: Michael Wu <flamingice@sourmilk.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Jiri Benc <jbenc@suse.cz>, "Jouni Malinen" <jkm@devicescape.com>,
netdev@vger.kernel.org, jkmaline@cc.hut.fi
Subject: [PATCH wireless-dev] d80211: Don't discriminate against 802.11b drivers
Date: Thu, 4 May 2006 22:32:35 -0400 [thread overview]
Message-ID: <200605042232.35446.flamingice@sourmilk.net> (raw)
This makes the current hack used to prevent 802.11g cards from scanning with
802.11b channels not break scanning in 802.11b drivers.
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c
index 2720f1d..5c8fe22 100644
--- a/net/d80211/ieee80211_sta.c
+++ b/net/d80211/ieee80211_sta.c
@@ -2566,7 +2566,7 @@ int ieee80211_sta_req_scan(struct net_de
memcpy(local->scan_ssid, ssid, ssid_len);
} else
local->scan_ssid_len = 0;
- local->scan_skip_11b = 1; /* FIX: clear this is 11g is not supported */
+ local->scan_skip_11b = local->hw->num_modes > 1;
local->scan_state = SCAN_SET_CHANNEL;
local->scan_hw_mode_idx = 0;
local->scan_channel_idx = 0;
next reply other threads:[~2006-05-05 2:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-05 2:32 Michael Wu [this message]
2006-05-11 15:54 ` [PATCH wireless-dev] d80211: Don't discriminate against 802.11b drivers Jiri Benc
2006-05-10 17:31 ` Michael Wu
2006-05-12 10:47 ` Jiri Benc
2006-05-12 20:35 ` Michael Wu
2006-05-15 11:37 ` Jiri Benc
2006-05-15 12:04 ` Johannes Berg
2006-05-15 13:35 ` Jiri Benc
2006-05-15 14:01 ` Michael Buesch
2006-05-15 14:12 ` Jiri Benc
2006-05-15 17:19 ` Michael Wu
2006-05-19 18:06 ` John W. Linville
2006-05-19 19:03 ` Michael Wu
2006-05-19 19:22 ` John W. Linville
2006-05-11 20:41 ` Michael Buesch
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=200605042232.35446.flamingice@sourmilk.net \
--to=flamingice@sourmilk.net \
--cc=jbenc@suse.cz \
--cc=jkm@devicescape.com \
--cc=jkmaline@cc.hut.fi \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.