2015-10-23 16:14:27

by Chan-yeol Park

[permalink] [raw]
Subject: [PATCH 1/1] audio: Fix mtu input order

This patch fixes imtu,omtu input order in avdtp_stream_set_transport().
---
profiles/audio/a2dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 9121dab..b0fea7c 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1457,7 +1457,7 @@ static void transport_cb(GIOChannel *io, GError *err, gpointer user_data)

if (!avdtp_stream_set_transport(setup->stream,
g_io_channel_unix_get_fd(io),
- omtu, imtu))
+ imtu, omtu))
goto drop;

g_io_channel_set_close_on_unref(io, FALSE);
--
2.5.0



2015-10-23 16:24:55

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH 1/1] audio: Fix mtu input order

Hi Chan-yeol,

On Sat, Oct 24, 2015, Chan-yeol Park wrote:
> This patch fixes imtu,omtu input order in avdtp_stream_set_transport().
> ---
> profiles/audio/a2dp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied. Thanks!

Johan