adjust default bluetooth profile to off
authorJaska Uimonen <jaska.uimonen@intel.com>
Wed, 14 Aug 2013 12:00:52 +0000 (15:00 +0300)
committerJaska Uimonen <jaska.uimonen@intel.com>
Thu, 17 Oct 2013 12:28:34 +0000 (15:28 +0300)
src/modules/bluetooth/module-bluez4-device.c

index 5925ee5..2a7d0b6 100644 (file)
@@ -2303,6 +2303,8 @@ static int add_card(struct userdata *u) {
         else
             pa_log_warn("Profile '%s' not valid or not supported by device.", default_profile);
     }
+    else
+      pa_card_new_data_set_profile(&data, p->name);
 
     u->card = pa_card_new(u->core, &data);
     pa_card_new_data_done(&data);