mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
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>
This commit is contained in:
parent
4b7679a561
commit
4dfe51e100
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user