summaryrefslogtreecommitdiffstats
path: root/plugins/sap.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-09-27 18:04:15 -0300
committerDenis Kenzior <denkenz@gmail.com>2011-09-27 23:36:23 -0500
commite73244a4a3bd8f6fae1c9a1e82b99ae1d3da740b (patch)
treed8fa71425ec6823c2c9e3ab64f1330a8e0c5e8cc /plugins/sap.c
parent9667db0b142908bf95d570edf6fd482256d881ae (diff)
downloadofono-e73244a4a3bd8f6fae1c9a1e82b99ae1d3da740b.tar.bz2
sap: retrigger bluetooth GetProperties call
When plugging a SAP capable modem, GetProperties need to be called again to fetch the SAP Server devices from BlueZ.
Diffstat (limited to 'plugins/sap.c')
-rw-r--r--plugins/sap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/sap.c b/plugins/sap.c
index 169bb7f5..b679ce5f 100644
--- a/plugins/sap.c
+++ b/plugins/sap.c
@@ -66,6 +66,8 @@ int bluetooth_sap_client_register(struct bluetooth_sap_driver *sap,
sap_hw_modem = modem;
sap_hw_driver = sap;
+ bluetooth_get_properties();
+
return 0;
}