fix(wpa_supplicant): Clear bssid flag and channel in supplicant disconnect handler

- Clear the bssid set flag and channel in supplicant disconnect handler as this
  can cause the station to recursively connect to the wrong AP in case
  roaming through BTM mechanisms fails.
- Fix issue with incorrect blocking time calculation when blocking scan
  issued for a single channel.
This commit is contained in:
jgujarathi
2023-09-29 11:32:55 +05:30
committed by BOT
parent ff622e4428
commit 84d7ab5c0c
3 changed files with 13 additions and 6 deletions

View File

@@ -46,5 +46,5 @@ void esp_supplicant_unset_all_appie(void);
void esp_set_scan_ie(void);
void esp_set_assoc_ie(uint8_t *bssid, const u8 *ies, size_t ies_len, bool add_mdie);
void supplicant_sta_conn_handler(uint8_t* bssid);
void supplicant_sta_disconn_handler(void);
void supplicant_sta_disconn_handler(uint8_t reason_code);
#endif