summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVulupala Shashank Reddy <vulupa@codeaurora.org>2019-07-02 10:35:17 +0530
committernshrivas <nshrivas@codeaurora.org>2019-07-05 00:13:49 -0700
commitdcce5aabcfbcd87d52a51e9520901b07dd4c4f10 (patch)
tree970b36d0ebee3b71c3339cc615cfb553b1a9281f
parentfb6c5b1aa403ff2e68a9c8a0cd677e7ad44d7a02 (diff)
qcacld-3.0: FW offload packets not captured while roaming
For the MON Interface, FW offload packets are dropped in ol_txrx_clear_peer_internal as cds_drop_monpkt is called, so remove cds_drop_monpkt from ol_txrx_clear_peer_internal to capture all the packets properly. Change-Id: Ic9fa3f45346631098bcb5d7dc15f9382955b65a0 CRs-Fixed: 2467259
-rw-r--r--core/dp/txrx/ol_txrx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c
index c2e099496da5..155e3a2e0873 100644
--- a/core/dp/txrx/ol_txrx.c
+++ b/core/dp/txrx/ol_txrx.c
@@ -3814,11 +3814,8 @@ ol_txrx_clear_peer_internal(struct ol_txrx_peer_t *peer)
{
p_cds_sched_context sched_ctx = get_cds_sched_ctxt();
/* Drop pending Rx frames in CDS */
- if (sched_ctx) {
+ if (sched_ctx)
cds_drop_rxpkt_by_staid(sched_ctx, peer->local_id);
- if (cds_get_pktcap_mode_enable())
- cds_drop_monpkt(sched_ctx);
- }
/* Purge the cached rx frame queue */
ol_txrx_flush_rx_frames(peer, 1);