bap: Set auto_connect
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 17 Aug 2023 20:11:09 +0000 (13:11 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
Patch 2a4cf63f2152 has reset the flag back to false when it shouldn't
so this revert it to its original behavior.

profiles/audio/bap.c

index 8dc6e1b78eb87d747139c68f44a3ed0d1477ca3f..6caf48167e2e79e48b5e96bb2c270a9268f4a43f 100644 (file)
@@ -1899,7 +1899,7 @@ static struct btd_profile bap_profile = {
        .disconnect     = bap_disconnect,
        .adapter_probe  = bap_adapter_probe,
        .adapter_remove = bap_adapter_remove,
-       .auto_connect   = false,
+       .auto_connect   = true,
        .experimental   = true,
 };