#define DONGLE_MIN_MEMSIZE (128 * 1024)
int dhd_dongle_memsize;
-static bool dhd_doflow;
static bool dhd_alignctl;
static bool sd1idle;
}
dhd_os_sdunlock_txq(bus->dhd);
- if ((pktq_len(&bus->txq) >= TXHI) && dhd_doflow)
+ if (pktq_len(&bus->txq) >= TXHI)
dhd_txflowcontrol(bus->dhd, 0, ON);
#ifdef DHD_DEBUG
}
/* Deflow-control stack if needed */
- if (dhd_doflow && dhd->up && (dhd->busstate == DHD_BUS_DATA) &&
+ if (dhd->up && (dhd->busstate == DHD_BUS_DATA) &&
dhd->txoff && (pktq_len(&bus->txq) < TXLOW))
dhd_txflowcontrol(dhd, 0, OFF);
sd1idle = true;
dhd_readahead = true;
retrydata = false;
- dhd_doflow = false;
dhd_dongle_memsize = 0;
dhd_txminmax = DHD_TXMINMAX;