bluez5: Allow method calls over dbus for bluetooth daemon

Submitted by Yasir Khan on Aug. 5, 2014, 11:27 a.m.

Details

Message ID 1407238076-60915-1-git-send-email-yasir_khan@mentor.com
State Accepted
Commit eb3a380301b8f7ec34d3649c386214d39355eaa0
Headers show

Commit Message

Yasir Khan Aug. 5, 2014, 11:27 a.m.
From: Yasir-Khan <yasir_khan@mentor.com>

This patch changes the dbus policy settings in order to allow
calling methods over dbus. bluez5 and pulseaudio rely on this
mechanism to configure media end points. Previously bluetoothd
was failing to configure the media end points with error
org.freedesktop.DBus.Error.AccessDenied, due to which bluetooth
headset and smartphone were unable to connect in A2DP mode.

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
---
 .../bluez5/bluez5/bluetooth.conf                   |    1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf b/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf
index e21e72e..26845bb 100644
--- a/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf
+++ b/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf
@@ -11,6 +11,7 @@ 
     <allow own="org.bluez"/>
     <allow send_destination="org.bluez"/>
     <allow send_interface="org.bluez.Agent1"/>
+    <allow send_type="method_call"/>
   </policy>
 
 </busconfig>