Diff between cee1218397a633500cef9f51ee2b292748494770 and b2fd4c7e1ecf715a0f56e0a4534329db9b4e44b1

Changed Files

File Additions Deletions Status
profiles/audio/avctp.c +1 -1 modified

Full Patch

diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index 0b4c80e..70a3e40 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -1367,7 +1367,7 @@ static void avctp_connect_cb(GIOChannel *chan, GError *err, gpointer data)
 	bt_io_get(chan, &gerr,
 			BT_IO_OPT_DEST, &address,
 			BT_IO_OPT_IMTU, &imtu,
-			BT_IO_OPT_IMTU, &omtu,
+			BT_IO_OPT_OMTU, &omtu,
 			BT_IO_OPT_INVALID);
 	if (gerr) {
 		avctp_set_state(session, AVCTP_STATE_DISCONNECTED, -EIO);