mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacld-3.0: Do not invalidate HDD context if roaming in progress
Do not invalidate the HDD context if roaming is in progress. Move the condition outside of the validation check Change-Id: Idd56cbbc63ce56000f03fc47b6f1b78d53cb170f CRs-Fixed: 1094301
This commit is contained in:
parent
ca144d8158
commit
3e213e5f36
2 changed files with 5 additions and 5 deletions
|
|
@ -12897,6 +12897,11 @@ static int __wlan_hdd_cfg80211_disconnect(struct wiphy *wiphy,
|
|||
|
||||
status = wlan_hdd_validate_context(pHddCtx);
|
||||
|
||||
if (hdd_is_roaming_in_progress()) {
|
||||
hdd_err("Roaming In Progress. Ignore!!!");
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
if (0 != status)
|
||||
return status;
|
||||
|
||||
|
|
|
|||
|
|
@ -595,11 +595,6 @@ int wlan_hdd_validate_context(hdd_context_t *hdd_ctx)
|
|||
return -EAGAIN;
|
||||
}
|
||||
|
||||
if (hdd_is_roaming_in_progress()) {
|
||||
hdd_err("Roaming In Progress. Ignore!!!");
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue