projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f36cb8
)
net: wireless: bcmdhd: Allow to push more packets to FW for Tx
author
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 7 Dec 2011 00:27:37 +0000
(16:27 -0800)
committer
Dmitry 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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/dhd_sdio.c
b/drivers/net/wireless/bcmdhd/dhd_sdio.c
index 760e2beb7a5bea454381b32672baedc4f410954c..1bdc7d50f1fb4f4d7f0d03862bdc3ccc4cee719b 100644
(file)
--- 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 */