Return-Path: From: fabien.proriolpatch@kazoe.org To: linux-bluetooth@vger.kernel.org Cc: Fabien Proriol Subject: [PATCH BlueZ] Fix obex protocol for powerpc Date: Thu, 28 Jul 2016 16:06:47 +0200 Message-Id: <1469714808-18136-1-git-send-email-fabien.proriolpatch@kazoe.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Fabien Proriol omtu and imtu is define as uint16_t in l2cap_get function (use with va_arg). But in connect_event, in file bluetooth.c, variables are define as int (32bit in powerpc). When we use a platform with big endian, the result is omtu and imtu pass to obex_server_new_connection is bigger than needed. And file transfert will be lock until timeout (for file with size > 630 bytes) Fabien Proriol (1): Fix obex protocol for powerpc obexd/client/bluetooth.c | 4 ++-- obexd/plugins/bluetooth.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.3