qcacld-3.0: Avoid race when uplayer triggers reassoc
When supplicant tries to reassoc AP, it will set PSK before issue connection. In driver, it invokes function __wlan_hdd_cfg80211_keymgmt_set_key and then __wlan_hdd_cfg80211_connect. __wlan_hdd_cfg80211_keymgmt_set_key puts eWNI_SME_ROAM_SCAN_OFFLOAD_REQ to PE queue, then puts WMA_ROAM_SCAN_OFFLOAD_REQ to WMA queue. __wlan_hdd_cfg80211_connect puts SIR_HAL_ROAM_INVOKE to WMA queue directly. If the command SIR_HAL_ROAM_INVOKE is issued to fw before WMA_ROAM_SCAN_OFFLOAD_REQ, then roaming scan is canceled because scan mode is set. To avoid this race, send SIR_HAL_ROAM_INVOKE to PE queue, and then to WMA queue as well. Change-Id: I08624efc466085e49fa4201deb221276ec5c260f Rs-Fixed: 2344710
Loading
Please register or sign in to comment