Diff between bd56b05de43abdc39a598167bc29deff09755cbf and 153a607801b677d21d7ad4a417fb8d8217512269
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avrcp.c | +7 | -0 | modified |
Full Patch
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 8c39d96..9f164e4 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -3195,6 +3195,13 @@ static gboolean avrcp_get_capabilities_resp(struct avctp *conn,
if (pdu == NULL || pdu->params[0] != CAP_EVENTS_SUPPORTED)
return FALSE;
+ /* Connect browsing if pending */
+ if (session->browsing_timer > 0) {
+ g_source_remove(session->browsing_timer);
+ session->browsing_timer = 0;
+ avctp_connect_browsing(session->conn);
+ }
+
count = pdu->params[1];
for (; count > 0; count--) {