mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: remove the host ast_entry after deleting in FW
Removet the host ast_entry after sending delete ast_entry to the firmware. This will handle the situation where we might receive an add request for the same ast_entry, while we are waiting for delete response from the firmware. Change-Id: I105504a9c6a1e8e53bef9f3d011c10f846fd098e CRs-Fixed: 2347989
This commit is contained in:
parent
e5a330acf6
commit
2a2b7fecb0
1 changed files with 1 additions and 1 deletions
|
|
@ -694,7 +694,6 @@ void dp_peer_del_ast(struct dp_soc *soc, struct dp_ast_entry *ast_entry)
|
|||
|
||||
if (ast_entry->next_hop &&
|
||||
ast_entry->type != CDP_TXRX_AST_TYPE_WDS_HM_SEC) {
|
||||
TAILQ_REMOVE(&peer->ast_entry_list, ast_entry, ase_list_elem);
|
||||
dp_peer_ast_send_wds_del(soc, ast_entry);
|
||||
} else {
|
||||
/*
|
||||
|
|
@ -944,6 +943,7 @@ void dp_peer_ast_send_wds_del(struct dp_soc *soc,
|
|||
cdp_soc->ol_ops->peer_del_wds_entry(peer->vdev->osif_vdev,
|
||||
ast_entry->mac_addr.raw);
|
||||
ast_entry->wmi_sent = true;
|
||||
TAILQ_REMOVE(&peer->ast_entry_list, ast_entry, ase_list_elem);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue