diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-18 23:10:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-24 16:18:03 -0400 |
commit | 4dfe51e10047a60e82734860cec0d9f660b102fc (patch) | |
tree | 9cfd5ee7a2aa5165d7d0acc6060144fc37666780 /net/mac80211 | |
parent | 4b7679a561e552eeda1e3567119bef2bca99b66e (diff) |
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')
-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, | |||
942 | disassoc = 1; | 942 | disassoc = 1; |
943 | } else | 943 | } else |
944 | ieee80211_send_probe_req(sdata, ifsta->bssid, | 944 | ieee80211_send_probe_req(sdata, ifsta->bssid, |
945 | local->scan_ssid, | 945 | ifsta->ssid, |
946 | local->scan_ssid_len); | 946 | ifsta->ssid_len); |
947 | ifsta->flags ^= IEEE80211_STA_PROBEREQ_POLL; | 947 | ifsta->flags ^= IEEE80211_STA_PROBEREQ_POLL; |
948 | } else { | 948 | } else { |
949 | ifsta->flags &= ~IEEE80211_STA_PROBEREQ_POLL; | 949 | ifsta->flags &= ~IEEE80211_STA_PROBEREQ_POLL; |