projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7bb59
)
caif-hsi: changed test on aggregation_timeout
author
Kim Lilliestierna XX
<
[email protected]
>
Mon, 25 Jun 2012 07:49:37 +0000
(07:49 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 25 Jun 2012 23:44:12 +0000
(16:44 -0700)
Aggregation_timeout is an unsigned long,
a test for less than zero can never become true,
compare with zero instead.
Signed-off-by: Kim Lilliestierna <
[email protected]
>
Signed-off-by: Sjur Brændeland <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/caif/caif_hsi.c
patch
|
blob
|
history
diff --git
a/drivers/net/caif/caif_hsi.c
b/drivers/net/caif/caif_hsi.c
index f81f61fb39bc5c49ec9d42022e855dc720ab1604..56cc941206771042266249a9c4a9d78ccfa5984a 100644
(file)
--- a/
drivers/net/caif/caif_hsi.c
+++ b/
drivers/net/caif/caif_hsi.c
@@
-115,7
+115,7
@@
static bool cfhsi_can_send_aggregate(struct cfhsi *cfhsi)
{
int i;
- if (cfhsi->aggregation_timeout
<
0)
+ if (cfhsi->aggregation_timeout
==
0)
return true;
for (i = 0; i < CFHSI_PRIO_BEBK; ++i) {