git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtlwifi: initialize local array and set value.
[pandora-kernel.git]
/
drivers
/
net
/
ppp
/
ppp_deflate.c
diff --git
a/drivers/net/ppp/ppp_deflate.c
b/drivers/net/ppp/ppp_deflate.c
index
1dbdf82
..
43764cc
100644
(file)
--- a/
drivers/net/ppp/ppp_deflate.c
+++ b/
drivers/net/ppp/ppp_deflate.c
@@
-268,7
+268,7
@@
static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf,
/*
* See if we managed to reduce the size of the packet.
*/
- if (olen < isize) {
+ if (olen < isize
&& olen <= osize
) {
state->stats.comp_bytes += olen;
state->stats.comp_packets++;
} else {