Merge "qcacmn: Add host AST entry only if peer is found"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
dea4b69da7
@@ -2641,7 +2641,7 @@ dp_rx_mlo_peer_map_handler(struct dp_soc *soc, uint16_t peer_id,
|
|||||||
* If AST offload and host AST DB is enabled, populate AST entries on
|
* If AST offload and host AST DB is enabled, populate AST entries on
|
||||||
* host based on mlo peer map event from FW
|
* host based on mlo peer map event from FW
|
||||||
*/
|
*/
|
||||||
if (soc->ast_offload_support && soc->host_ast_db_enable) {
|
if (peer && soc->ast_offload_support && soc->host_ast_db_enable) {
|
||||||
dp_peer_host_add_map_ast(primary_soc, ml_peer_id, peer_mac_addr,
|
dp_peer_host_add_map_ast(primary_soc, ml_peer_id, peer_mac_addr,
|
||||||
hw_peer_id, vdev_id,
|
hw_peer_id, vdev_id,
|
||||||
ast_hash, is_wds);
|
ast_hash, is_wds);
|
||||||
@@ -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
|
* If AST offload and host AST DB is enabled, populate AST entries on
|
||||||
* host based on peer map event from FW
|
* host based on peer map event from FW
|
||||||
*/
|
*/
|
||||||
if (soc->ast_offload_support && soc->host_ast_db_enable) {
|
if (peer && soc->ast_offload_support && soc->host_ast_db_enable) {
|
||||||
dp_peer_host_add_map_ast(soc, peer_id, peer_mac_addr,
|
dp_peer_host_add_map_ast(soc, peer_id, peer_mac_addr,
|
||||||
hw_peer_id, vdev_id,
|
hw_peer_id, vdev_id,
|
||||||
ast_hash, is_wds);
|
ast_hash, is_wds);
|
||||||
|
Reference in New Issue
Block a user