From da542178c9acd9969f09af26ae408aeb93eec604 Mon Sep 17 00:00:00 2001 From: Sravan Kumar Kairam Date: Fri, 8 Jun 2018 12:51:21 +0530 Subject: [PATCH] qcacmn: For dp peer reuse add peer to pdev local peer id map Currently peer is not added to the dp pdev local peer id map when resuing the peer reference. As a result register peer with the dp fails and tx is not allowed. This leads to connection failures as EAPOL tx is not permitted. In this change add peer to the pdev local peer id map when existing dp peer reference is used. Change-Id: I02221115e07450466ad165a6e0861d340cdbda4a CRs-Fixed: 2241763 --- dp/wifi3.0/dp_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 7574c8e2fbc8..8d29fd15d717 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -3551,6 +3551,9 @@ static void *dp_peer_create_wifi3(struct cdp_vdev *vdev_handle, vdev->vdev_id, peer->mac_addr.raw); } +#ifndef CONFIG_WIN + dp_local_peer_id_alloc(pdev, peer); +#endif DP_STATS_INIT(peer); return (void *)peer; }