projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544c02d
)
Fix order of PPP frame recording and processing
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 1 Apr 2010 21:31:19 +0000
(14:31 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 1 Apr 2010 21:31:19 +0000
(14:31 -0700)
gatchat/ppp.c
patch
|
blob
|
history
diff --git
a/gatchat/ppp.c
b/gatchat/ppp.c
index
f36a86e
..
289c235
100644
(file)
--- a/
gatchat/ppp.c
+++ b/
gatchat/ppp.c
@@
-370,8
+370,8
@@
gboolean ppp_cb(GIOChannel *channel, GIOCondition cond, gpointer data)
status = g_io_channel_read_chars(channel, buf, 256,
&bytes_read, &error);
if (bytes_read > 0) {
- ppp_feed(ppp, (guint8 *) buf, bytes_read);
ppp_record(ppp, TRUE, (guint8 *) buf, bytes_read);
+ ppp_feed(ppp, (guint8 *) buf, bytes_read);
}
if (status != G_IO_STATUS_NORMAL && status != G_IO_STATUS_AGAIN)
return FALSE;