While associated, we should probe with the SSID we're associated to,
not the scan SSID.
Signed-off-by: Johannes Berg <[email protected]>
---
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;
On Fri, Sep 19, 2008 at 6:10 AM, Johannes Berg
<[email protected]> wrote:
> While associated, we should probe with the SSID we're associated to,
> not the scan SSID.
>
> Signed-off-by: Johannes Berg <[email protected]>
> ---
> 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 <[email protected]>