From: Dmitry Shmidt Date: Wed, 7 Dec 2011 00:27:37 +0000 (-0800) Subject: net: wireless: bcmdhd: Allow to push more packets to FW for Tx X-Git-Tag: firefly_0821_release~7613^2~206 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c561cedf2b6c9d6e7c26ee69dd17c97c0a852a17;p=firefly-linux-kernel-4.4.55.git net: wireless: bcmdhd: Allow to push more packets to FW for Tx Signed-off-by: Dmitry Shmidt --- diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c index 760e2beb7a5b..1bdc7d50f1fb 100644 --- a/drivers/net/wireless/bcmdhd/dhd_sdio.c +++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c @@ -382,7 +382,7 @@ static bool dhd_readahead; /* To check if there's window offered */ #define DATAOK(bus) \ - (((uint8)(bus->tx_max - bus->tx_seq) > 2) && \ + (((uint8)(bus->tx_max - bus->tx_seq) > 1) && \ (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0)) /* To check if there's window offered for ctrl frame */