diff options
author | Jouni Malinen <j@w1.fi> | 2008-03-12 11:20:20 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2008-03-12 11:20:20 +0200 |
commit | 658d166297ffff1ebcd8a408456b1a9c645adaee (patch) | |
tree | b00f8f2ce769d506b69fb1e7e2b8f9a8288dfa40 /src/rsn_supp/wpa.h | |
parent | 58a98fb027351ee6b6d6eab557500ac644f3cdf0 (diff) | |
download | external_wpa_supplicant_8_ti-658d166297ffff1ebcd8a408456b1a9c645adaee.zip external_wpa_supplicant_8_ti-658d166297ffff1ebcd8a408456b1a9c645adaee.tar.gz external_wpa_supplicant_8_ti-658d166297ffff1ebcd8a408456b1a9c645adaee.tar.bz2 |
FT: Use correct BSSID when deriving PTK and verifying MIC
The old version was using struct wpa_sm::bssid which is not necessarily
updated to point to the correct target address when doing over-the-air FT
since the address is used before the association has actually been
completed.
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r-- | src/rsn_supp/wpa.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h index 6ab53fe..60a3fa0 100644 --- a/src/rsn_supp/wpa.h +++ b/src/rsn_supp/wpa.h @@ -280,7 +280,7 @@ int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, int ft_action, const u8 *target_ap); int wpa_ft_is_completed(struct wpa_sm *sm); int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, - size_t ies_len); + size_t ies_len, const u8 *src_addr); int wpa_ft_start_over_ds(struct wpa_sm *sm, const u8 *target_ap); #else /* CONFIG_IEEE80211R */ @@ -310,7 +310,8 @@ static inline int wpa_ft_is_completed(struct wpa_sm *sm) } static inline int -wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len) +wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, + const u8 *src_addr) { return -1; } |