From 8acefa714aec7dab52280e55fa3198ca7cbc1eef Mon Sep 17 00:00:00 2001 From: Karthik Kantamneni Date: Tue, 17 Aug 2021 04:11:44 +0530 Subject: [PATCH] qcacld-3.0: Don't start fisa fse flush timer in suspend state Currently CMEM FISA FSE flush work timer can be triggered in suspend sequence, this may lead to starting timer even it is pending to executed. To avoid this check if flush is allowed before starting the timer. Change-Id: Ie4a8386a7a7c7ae8c2fba97cae65578ae56b0b4b CRs-Fixed: 3015719 --- core/dp/txrx3.0/dp_fisa_rx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dp/txrx3.0/dp_fisa_rx.c b/core/dp/txrx3.0/dp_fisa_rx.c index 96f217aaab04..57459f61348a 100644 --- a/core/dp/txrx3.0/dp_fisa_rx.c +++ b/core/dp/txrx3.0/dp_fisa_rx.c @@ -869,6 +869,7 @@ static void dp_fisa_rx_fst_update(struct dp_rx_fst *fisa_hdl, * reflect the flow update */ if (is_fst_updated && + fisa_hdl->fse_cache_flush_allow && (qdf_atomic_inc_return(&fisa_hdl->fse_cache_flush_posted) == 1)) { /* return 1 after increment implies FSE cache flush message * already posted. so start restart the timer