qcacld-3.0: Increment peer count in LFR-2.0 roaming case
In LFR-2.0 roaming case, wma_add_peer() is called which sends the peer create command to firmware, but in the caller peer count is not incremented in success case. This leads to peer deletion failure during disconnection. Increment peer count in LFR-2.0 roaming case. Change-Id: I0b17217615e104fe93f622555f04c6a85e279d6d CRs-Fixed: 2929615
This commit is contained in:

committed by
Madan Koyyalamudi

parent
c23b2db4ff
commit
3ddbc71c99
@@ -5407,8 +5407,8 @@ QDF_STATUS wma_add_bss_peer_sta(uint8_t vdev_id, uint8_t *bssid,
|
|||||||
WMI_PEER_TYPE_DEFAULT,
|
WMI_PEER_TYPE_DEFAULT,
|
||||||
vdev_id);
|
vdev_id);
|
||||||
else
|
else
|
||||||
status = wma_add_peer(wma, bssid, WMI_PEER_TYPE_DEFAULT,
|
status = wma_create_peer(wma, bssid, WMI_PEER_TYPE_DEFAULT,
|
||||||
vdev_id);
|
vdev_id);
|
||||||
err:
|
err:
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user