|
@@ -20393,8 +20393,10 @@ int wlan_hdd_try_disconnect(struct hdd_adapter *adapter)
|
|
|
&adapter->roaming_comp_var,
|
|
|
msecs_to_jiffies(WLAN_WAIT_TIME_STOP_ROAM));
|
|
|
if (!rc) {
|
|
|
- hdd_err("roaming comp var timed out vdev id: %d",
|
|
|
+ hdd_err("roaming_comp_var time out vdev id: %d",
|
|
|
adapter->vdev_id);
|
|
|
+ /* Clear roaming in progress flag */
|
|
|
+ hdd_set_roaming_in_progress(false);
|
|
|
}
|
|
|
if (adapter->roam_ho_fail) {
|
|
|
INIT_COMPLETION(adapter->disconnect_comp_var);
|
|
@@ -20852,8 +20854,10 @@ int wlan_hdd_disconnect(struct hdd_adapter *adapter, u16 reason)
|
|
|
&adapter->roaming_comp_var,
|
|
|
msecs_to_jiffies(WLAN_WAIT_TIME_STOP_ROAM));
|
|
|
if (!rc) {
|
|
|
- hdd_err("roaming comp var timed out vdev id: %d",
|
|
|
+ hdd_err("roaming_comp_var time out vdev id: %d",
|
|
|
adapter->vdev_id);
|
|
|
+ /* Clear roaming in progress flag */
|
|
|
+ hdd_set_roaming_in_progress(false);
|
|
|
}
|
|
|
if (adapter->roam_ho_fail) {
|
|
|
INIT_COMPLETION(adapter->disconnect_comp_var);
|