Limit HFP plugin loading to D-Bus 1.3 only systems

This commit is contained in:
Marcel Holtmann 2010-01-27 21:16:26 +01:00
parent ac6672e9b3
commit 49233dbc2f
1 changed files with 3 additions and 0 deletions

View File

@ -811,6 +811,9 @@ static int hfp_init(void)
{
int err;
if (DBUS_TYPE_UNIX_FD < 0)
return -EBADF;
connection = ofono_dbus_get_connection();
added_watch = g_dbus_add_signal_watch(connection, NULL, NULL,