wlan: DUT fails to start Roam scan offload after connection.
If DUT receive deauth when neighborRoamState is
STATE_PREAUTHENTICATING, it deletes currAPbssid and thus when it
tries to stop the roam scan and use currAPbssid to find the
session, there are chances that it doesnot send the stop roam scan
to firmware.
Now in next connect, when it tries to start the roam scan
it fails as it was not stopped during last disconnect.
This leads to disabling the roaming in firmware.
Stop roam scan does not require the psession and thus to solve
this, remove the check of session if command is
ROAM_SCAN_OFFLOAD_STOP and directly send the stop command to
the firmware.
Change-Id: I1118405031837cc9ba7034661c1384a4c26479db
CRs-fixed: 749411
1 file changed