gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-53


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-534-gf940983
Date: Tue, 17 Dec 2013 15:51:11 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  f94098395007f2a2200d901ed17d85aae25c100b (commit)
      from  d174c7e95c8c3453c29b352f372141284e58084f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=f94098395007f2a2200d901ed17d85aae25c100b


commit f94098395007f2a2200d901ed17d85aae25c100b
Author: Daniele Forsi <address@hidden>
Date:   Tue Dec 17 16:46:06 2013 +0100

    Explain why we must add 2 to received length
    
    See phonet_rcv() in net/phonet/af_phonet.c in the sources of the Linux 
kernel.

diff --git a/common/devices/socketphonet.c b/common/devices/socketphonet.c
index 0aa7f71..12bed8b 100644
--- a/common/devices/socketphonet.c
+++ b/common/devices/socketphonet.c
@@ -126,7 +126,7 @@ size_t socketphonet_read(int fd, __ptr_t buf, size_t 
nbytes, struct gn_statemach
        }
 
        /* Hack!!! Rebuild header as expected by phonet_rx_statemachine() */
-       /* FIXME: why we need to add another 2 bytes? */
+       /* Need to add 2 bytes to re-add spn_obj and spn_dev that the kernel 
driver doesn't return as payload */
        received += 2;
        frame[0] = FBUS_PHONET_DKU2_FRAME_ID;
        frame[1] = FBUS_PHONET_BLUETOOTH_DEVICE_PC;

-----------------------------------------------------------------------

Summary of changes:
 common/devices/socketphonet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]