Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] Fix obex protocol for powerpc
@ 2016-07-28 14:06 fabien.proriolpatch
  2016-07-28 14:06 ` fabien.proriolpatch
  0 siblings, 1 reply; 8+ messages in thread
From: fabien.proriolpatch @ 2016-07-28 14:06 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Fabien Proriol

From: Fabien Proriol <fabien.proriol@jdsu.com>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH BlueZ] Fix obex protocol for powerpc
@ 2016-07-28 13:12 fabien.proriolpatch
  2016-07-28 13:12 ` fabien.proriolpatch
  0 siblings, 1 reply; 8+ messages in thread
From: fabien.proriolpatch @ 2016-07-28 13:12 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Fabien Proriol

From: Fabien Proriol <fabien.proriol@jdsu.com>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH BlueZ] Fix obex protocol for powerpc
@ 2016-07-26 13:22 fabien.proriolpatch
  2016-07-26 13:22 ` fabien.proriolpatch
  0 siblings, 1 reply; 8+ messages in thread
From: fabien.proriolpatch @ 2016-07-26 13:22 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Fabien Proriol

From: Fabien Proriol <fabien.proriol@jdsu.com>

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/plugins/bluetooth.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-29 11:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28 14:06 [PATCH BlueZ] Fix obex protocol for powerpc fabien.proriolpatch
2016-07-28 14:06 ` fabien.proriolpatch
2016-07-29 11:02   ` Luiz Augusto von Dentz
  -- strict thread matches above, loose matches on Subject: below --
2016-07-28 13:12 fabien.proriolpatch
2016-07-28 13:12 ` fabien.proriolpatch
2016-07-28 14:00   ` Fabien PRORIOL
2016-07-26 13:22 fabien.proriolpatch
2016-07-26 13:22 ` fabien.proriolpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox