mirror of git://git.sysmocom.de/ofono
Limit HFP plugin loading to D-Bus 1.3 only systems
This commit is contained in:
parent
ac6672e9b3
commit
49233dbc2f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue