mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Allow RSO update cmds on RSO_STARTED state
Firmware operates on RSO update params only if state is RSO_STARTED. Hence allow RSO update commands only in RSO_STARTED state. Change-Id: Ic9d0d6df0608bfc4b4273f7c42c893dd52739d78 CRs-Fixed: 2605298
This commit is contained in:
parent
6d9e1aa4bf
commit
c5b2de38a6
1 changed files with 2 additions and 2 deletions
|
|
@ -21606,8 +21606,8 @@ csr_send_roam_offload_init_msg(struct mac_context *mac, uint32_t vdev_id,
|
|||
QDF_STATUS
|
||||
csr_roam_update_cfg(struct mac_context *mac, uint8_t vdev_id, uint8_t reason)
|
||||
{
|
||||
if (!MLME_IS_ROAM_INITIALIZED(mac->psoc, vdev_id)) {
|
||||
sme_err("Update cfg received in roam uninitialized state");
|
||||
if (!MLME_IS_ROAM_STATE_RSO_STARTED(mac->psoc, vdev_id)) {
|
||||
sme_err("Update cfg received while ROAM RSO not started");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue