Diff between 153a607801b677d21d7ad4a417fb8d8217512269 and 0eef17b39ad842c3c2f5958d73d298eb2e12cc97
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avctp.c | +3 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index 11e9365..2c1aa94 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -1328,8 +1328,10 @@ static void avctp_browsing_confirm(struct avctp *session, GIOChannel *chan,
}
if (bt_io_accept(chan, avctp_connect_browsing_cb, session, NULL,
- &err))
+ &err)) {
+ avctp_set_state(session, AVCTP_STATE_BROWSING_CONNECTING);
return;
+ }
error("Browsing: %s", err->message);
g_error_free(err);