qcacmn: Disable fastpath for srng rings

Reject fastpath enable for srng based chips.

Change-Id: If1f3be9cb92a7620b27e040aa6da4b18ed4d19f7
CRs-Fixed: 1104685
This commit is contained in:
Houston Hoffman 2016-12-05 11:59:56 -08:00 • committed by qcabuildsw
commit d63cd7430c

View file

@ -962,6 +962,10 @@ void hif_enable_fastpath(struct hif_opaque_softc *hif_ctx)
{
struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx);
if (ce_srng_based(scn)) {
HIF_INFO("%s, srng rings do not support fastpath", __func__);
return;
}
HIF_INFO("%s, Enabling fastpath mode", __func__);
scn->fastpath_mode_on = true;
}