diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-19 05:10:34 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-24 22:18:03 +0200 |
commit | 4dfe51e10047a60e82734860cec0d9f660b102fc (patch) | |
tree | 9cfd5ee7a2aa5165d7d0acc6060144fc37666780 /net/mac80211/mlme.c | |
parent | mac80211: clean up rate control API (diff) | |
download | linux-4dfe51e10047a60e82734860cec0d9f660b102fc.tar.xz linux-4dfe51e10047a60e82734860cec0d9f660b102fc.zip |
mac80211: probe with correct SSID
While associated, we should probe with the SSID we're associated to,
not the scan SSID.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 109c3a7e63ad..52a648133018 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -942,8 +942,8 @@ static void ieee80211_associated(struct ieee80211_sub_if_data *sdata, 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; |