qcacmn: Notify HMWDS ast add status to upper layers

Notification is sent in following two scenarios.
 - After call to dp_peer_add_ast() if we are not expecting any
   peer map event.
 - When HTT peer map event is received.

Change-Id: Id926d1cec1ee64520b0368fcc5000988c24e0513
CRs-Fixed: 2745542
This commit is contained in:
Jeevan Kukkalli
2020-07-08 23:57:43 +05:30
committed by snandini
parent 66c83b2fbe
commit 94c430da4a
3 changed files with 35 additions and 4 deletions

View File

@@ -652,6 +652,9 @@ static int dp_peer_add_ast_wifi3(struct cdp_soc_t *soc_hdl,
(status == QDF_STATUS_E_ALREADY) ||
(status == QDF_STATUS_E_AGAIN))
ret = 0;
dp_hmwds_ast_add_notify(peer, mac_addr,
type, status, false);
fail:
if (peer)
dp_peer_unref_delete(peer);