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
Esse commit está contido em:
Pragaspathi Thilagaraj
2021-04-22 14:25:48 +05:30
commit de Madan Koyyalamudi
commit 3ddbc71c99

Ver arquivo

@@ -5407,8 +5407,8 @@ QDF_STATUS wma_add_bss_peer_sta(uint8_t vdev_id, uint8_t *bssid,
WMI_PEER_TYPE_DEFAULT,
vdev_id);
else
status = wma_add_peer(wma, bssid, WMI_PEER_TYPE_DEFAULT,
vdev_id);
status = wma_create_peer(wma, bssid, WMI_PEER_TYPE_DEFAULT,
vdev_id);
err:
return status;
}