* [PATCH] mac80211: probe with correct SSID
@ 2008-09-19 3:10 Johannes Berg
2008-09-19 8:04 ` Tomas Winkler
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2008-09-19 3:10 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
While associated, we should probe with the SSID we're associated to,
not the scan SSID.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
net/mac80211/mlme.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- everything.orig/net/mac80211/mlme.c 2008-09-19 01:46:33.000000000 +0200
+++ everything/net/mac80211/mlme.c 2008-09-19 01:46:47.000000000 +0200
@@ -973,8 +973,8 @@ static void ieee80211_associated(struct
disassoc = 1;
} else
ieee80211_send_probe_req(sdata, ifsta->bssid,
- local->scan_ssid,
- local->scan_ssid_len);
+ ifsta->ssid,
+ ifsta->ssid_len);
ifsta->flags ^= IEEE80211_STA_PROBEREQ_POLL;
} else {
ifsta->flags &= ~IEEE80211_STA_PROBEREQ_POLL;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mac80211: probe with correct SSID
2008-09-19 3:10 [PATCH] mac80211: probe with correct SSID Johannes Berg
@ 2008-09-19 8:04 ` Tomas Winkler
0 siblings, 0 replies; 2+ messages in thread
From: Tomas Winkler @ 2008-09-19 8:04 UTC (permalink / raw)
To: Johannes Berg; +Cc: John Linville, linux-wireless
On Fri, Sep 19, 2008 at 6:10 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> While associated, we should probe with the SSID we're associated to,
> not the scan SSID.
>
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
> ---
> net/mac80211/mlme.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- everything.orig/net/mac80211/mlme.c 2008-09-19 01:46:33.000000000 +0200
> +++ everything/net/mac80211/mlme.c 2008-09-19 01:46:47.000000000 +0200
> @@ -973,8 +973,8 @@ static void ieee80211_associated(struct
> disassoc = 1;
> } else
> ieee80211_send_probe_req(sdata, ifsta->bssid,
> - local->scan_ssid,
> - local->scan_ssid_len);
> + ifsta->ssid,
> + ifsta->ssid_len);
> ifsta->flags ^= IEEE80211_STA_PROBEREQ_POLL;
> } else {
> ifsta->flags &= ~IEEE80211_STA_PROBEREQ_POLL;
>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-19 8:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-19 3:10 [PATCH] mac80211: probe with correct SSID Johannes Berg
2008-09-19 8:04 ` Tomas Winkler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox