net: wireless: bcmdhd: Allow to push more packets to FW for Tx
authorDmitry Shmidt <dimitrysh@google.com>
Wed, 7 Dec 2011 00:27:37 +0000 (16:27 -0800)
committerDmitry Shmidt <dimitrysh@google.com>
Mon, 19 Dec 2011 21:22:44 +0000 (13:22 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd_sdio.c

index 760e2beb7a5bea454381b32672baedc4f410954c..1bdc7d50f1fb4f4d7f0d03862bdc3ccc4cee719b 100644 (file)
@@ -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 */