|
@@ -295,10 +295,14 @@ bool hif_ce_service_should_yield(struct hif_softc *scn,
|
|
|
|
|
|
yield = time_limit_reached || rxpkt_thresh_reached;
|
|
|
|
|
|
- if (yield && ce_state->htt_rx_data)
|
|
|
+ if (yield &&
|
|
|
+ ce_state->htt_rx_data &&
|
|
|
+ hif_napi_enabled(GET_HIF_OPAQUE_HDL(scn), ce_state->id)) {
|
|
|
hif_napi_update_yield_stats(ce_state,
|
|
|
time_limit_reached,
|
|
|
rxpkt_thresh_reached);
|
|
|
+ }
|
|
|
+
|
|
|
return yield;
|
|
|
}
|
|
|
qdf_export_symbol(hif_ce_service_should_yield);
|