From 7cec0b5b105179729fcf233468344354d541a655 Mon Sep 17 00:00:00 2001 From: Santosh Anbu Date: Thu, 4 May 2023 10:33:32 +0530 Subject: [PATCH] qcacmn: Add host AST entries for WDS peers Add change to support addition of host AST entries for WDS peers. Change-Id: I81b936d7274784c9b178e32aa9ccfaf86f884f0f CRs-Fixed: 3472985 --- dp/wifi3.0/dp_peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c index 0e7397c0b7..84778ce560 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/dp/wifi3.0/dp_peer.c @@ -2814,7 +2814,7 @@ dp_rx_peer_map_handler(struct dp_soc *soc, uint16_t peer_id, * If AST offload and host AST DB is enabled, populate AST entries on * host based on peer map event from FW */ - if (peer && soc->ast_offload_support && soc->host_ast_db_enable) { + if (soc->ast_offload_support && soc->host_ast_db_enable) { dp_peer_host_add_map_ast(soc, peer_id, peer_mac_addr, hw_peer_id, vdev_id, ast_hash, is_wds);