Diff between 176aa9c4d5d4fadefa75075c7dea159e57f1da7b and 4478da0cb3ff57ed058e6a82988e5c2382249a3b
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +1 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index 0f21692..915b0f8 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1300,7 +1300,7 @@ static gint profile_prio_cmp(gconstpointer a, gconstpointer b)
{
const struct btd_profile *p1 = a, *p2 = b;
- return p1->priority - p2->priority;
+ return p2->priority - p1->priority;
}
static DBusMessage *connect_profiles(struct btd_device *dev, DBusMessage *msg,