* [PATCH] Fix obex protocol for powerpc
@ 2016-07-26 13:14 fabien.proriolpatch
2016-07-26 18:25 ` Vinicius Costa Gomes
0 siblings, 1 reply; 2+ messages in thread
From: fabien.proriolpatch @ 2016-07-26 13:14 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).
Signed-off-by: Fabien Proriol <fabien.proriol@jdsu.com>
---
obexd/plugins/bluetooth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/obexd/plugins/bluetooth.c b/obexd/plugins/bluetooth.c
index d8b872a..3ee5432 100644
--- a/obexd/plugins/bluetooth.c
+++ b/obexd/plugins/bluetooth.c
@@ -75,8 +75,8 @@ static void connect_event(GIOChannel *io, GError *err, void *user_data)
struct bluetooth_profile *profile = user_data;
struct obex_server *server = profile->server;
int type;
- int omtu = BT_TX_MTU;
- int imtu = BT_RX_MTU;
+ uint16_t omtu = BT_TX_MTU;
+ uint16_t imtu = BT_RX_MTU;
gboolean stream = TRUE;
socklen_t len = sizeof(int);
--
2.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix obex protocol for powerpc
2016-07-26 13:14 [PATCH] Fix obex protocol for powerpc fabien.proriolpatch
@ 2016-07-26 18:25 ` Vinicius Costa Gomes
0 siblings, 0 replies; 2+ messages in thread
From: Vinicius Costa Gomes @ 2016-07-26 18:25 UTC (permalink / raw)
To: fabien.proriolpatch, linux-bluetooth; +Cc: fabien.proriol
Hi Fabien,
fabien.proriolpatch@kazoe.org writes:
> From: Fabien Proriol <fabien.proriol@jdsu.com>
>
> omtu and imtu is define as uint16_t in l2cap_get function (use with va_arg).
>
> Signed-off-by: Fabien Proriol <fabien.proriol@jdsu.com>
> ---
Nice catch. Looks good.
If you could send a patch fixing 'obexd/client/bluetooth.c' as well, it
would be awesome, seems the same issue also happens there.
Cheers,
--
Vinicius
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-26 18:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-26 13:14 [PATCH] Fix obex protocol for powerpc fabien.proriolpatch
2016-07-26 18:25 ` Vinicius Costa Gomes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).