[wpa_supplicant] Why BSSID is coming as 00:00:00:00:00:00 after failed Roaming attempt, Is it a Bug or expected behavious in wpa-supplicant?
After triggering ROAM operation (wpa_cli ROAM ) to a specific bssid, The reassociation got failed due to "WPA: Failed to select WPA/RSN" error , But after this previous connection was maintained and able to connect to outside network, But BSSID was set to 00:00:00:00:00, Is this expected behavior,
Selected interface 'wlan0' bssid=00:00:00:00:00:00 freq=5805 ssid=my_ssid id=1 mode=station pairwise_cipher=CCMP group_cipher=CCMP key_mgmt=WPA2-PSK wpa_state=COMPLETED ip_address=169.254.113.222 address=xx:xx:xx:xx:xx:x uuid=amu_uuid ieee80211ac=1
This is due to the memset in function sme_send_authentication() wpa_supplicant/sme.c , I just moved the place of memset to bit later part before sending the Auth request. Now its keeps the BSSID as the previous bssid itself and connection is maintained. Is it a Bug from wpa-supplicant or its an expected behavior. ?
More details : -
wpa_supplicant version - 2.7 ,
Steps to reproduce, 1. Make sure that the client is connected to a bssid. 2. WPA_CLI ROAM 3. see status wpa_cli status , ( Only on failure roam attempts) Observations, Roam failed due to below error
SME: Failed to set WPA key management and encryption suites
wpa_cli status is showing bssid as 00:00:00:00:00 Connection is still maintained with my previous bssid.