浏览代码

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
Pragaspathi Thilagaraj 4 年之前
父节点
当前提交
3ddbc71c99
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/wma/src/wma_dev_if.c

+ 2 - 2
core/wma/src/wma_dev_if.c

@@ -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;
 }