1
0

018-Clear-BSSID-information-in-supplicant-state-machine-.patch 727 B

12345678910111213141516171819202122232425
  1. From c0fe5f125a9d4a6564e1f4956ccc3809bf2fd69d Mon Sep 17 00:00:00 2001
  2. From: Jouni Malinen <j@w1.fi>
  3. Date: Tue, 17 Oct 2017 01:15:24 +0300
  4. Subject: [PATCH] Clear BSSID information in supplicant state machine on
  5. disconnection
  6. This fixes a corner case where RSN pre-authentication candidate from
  7. scan results was ignored if the station was associated with that BSS
  8. just before running the new scan for the connection.
  9. Signed-off-by: Jouni Malinen <j@w1.fi>
  10. ---
  11. src/rsn_supp/wpa.c | 1 +
  12. 1 file changed, 1 insertion(+)
  13. --- a/src/rsn_supp/wpa.c
  14. +++ b/src/rsn_supp/wpa.c
  15. @@ -2662,6 +2662,7 @@ void wpa_sm_notify_disassoc(struct wpa_s
  16. wpa_sm_drop_sa(sm);
  17. sm->msg_3_of_4_ok = 0;
  18. + os_memset(sm->bssid, 0, ETH_ALEN);
  19. }