diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-05-14 17:16:30 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-05-14 17:17:07 -0700 |
commit | eee2eb78bd8c1f9d3daeef1ef496dbb6484b5124 (patch) | |
tree | 417c3c04a0d3fa2b0d9c82def5c7b9c3251a36ee /bluetooth-manager.c | |
parent | ab372c543ed9783336fe2bc25a83f47991d1a055 (diff) |
binding: bluetooth: fix typo of propertyies
Fix typo of propertyies that should be properties.
Bug-AGL: SPEC-578
Change-Id: I9b312666db39808d03fec33c0029858917a14b37
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'bluetooth-manager.c')
-rw-r--r-- | bluetooth-manager.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bluetooth-manager.c b/bluetooth-manager.c index 91dfa1c..b870e6f 100644 --- a/bluetooth-manager.c +++ b/bluetooth-manager.c @@ -558,8 +558,8 @@ bluez_device_properties_changed_cb (const gchar *pObjecPath, } - if (g_RegisterCallback.binding_device_propertyies_changed) - g_RegisterCallback.binding_device_propertyies_changed(device); + if (g_RegisterCallback.binding_device_properties_changed) + g_RegisterCallback.binding_device_properties_changed(device); devices_list_unlock(); @@ -586,10 +586,10 @@ void ofono_modem_added_cb(struct ofono_modem *modem) device->hfpconnected = modem->powered; - if ((NULL != g_RegisterCallback.binding_device_propertyies_changed) + if ((NULL != g_RegisterCallback.binding_device_properties_changed) && (old_value != device->hfpconnected)) { - g_RegisterCallback.binding_device_propertyies_changed(device); + g_RegisterCallback.binding_device_properties_changed(device); } } devices_list_unlock(); @@ -615,10 +615,10 @@ void ofono_modem_removed_cb(struct ofono_modem *modem) device->hfpconnected = FALSE; - if ((NULL != g_RegisterCallback.binding_device_propertyies_changed) + if ((NULL != g_RegisterCallback.binding_device_properties_changed) && (old_value != device->hfpconnected)) { - g_RegisterCallback.binding_device_propertyies_changed(device); + g_RegisterCallback.binding_device_properties_changed(device); } } devices_list_unlock(); @@ -643,10 +643,10 @@ void ofono_modem_properties_change_cb(struct ofono_modem *modem) device->hfpconnected = modem->powered; - if ((NULL != g_RegisterCallback.binding_device_propertyies_changed) + if ((NULL != g_RegisterCallback.binding_device_properties_changed) && (old_value != device->hfpconnected)) { - g_RegisterCallback.binding_device_propertyies_changed(device); + g_RegisterCallback.binding_device_properties_changed(device); } } devices_list_unlock(); @@ -720,13 +720,13 @@ static int bt_manager_app_init(void) Bluez_RegisterCallback_t Bluez_API_Callback; Bluez_API_Callback.device_added = bluez_device_added_cb; Bluez_API_Callback.device_removed = bluez_device_removed_cb; - Bluez_API_Callback.device_propertyies_changed = bluez_device_properties_changed_cb; + Bluez_API_Callback.device_properties_changed = bluez_device_properties_changed_cb; BluezDeviceAPIRegister(&Bluez_API_Callback); Ofono_RegisterCallback_t Ofono_API_Callback; Ofono_API_Callback.modem_added = ofono_modem_added_cb; Ofono_API_Callback.modem_removed = ofono_modem_removed_cb; - Ofono_API_Callback.modem_propertyies_changed = ofono_modem_properties_change_cb; + Ofono_API_Callback.modem_properties_changed = ofono_modem_properties_change_cb; OfonoModemAPIRegister(&Ofono_API_Callback); @@ -1505,10 +1505,10 @@ void BindingAPIRegister(const Binding_RegisterCallback_t* pstRegisterCallback) pstRegisterCallback->binding_device_removed; } - if (NULL != pstRegisterCallback->binding_device_propertyies_changed) + if (NULL != pstRegisterCallback->binding_device_properties_changed) { - g_RegisterCallback.binding_device_propertyies_changed = - pstRegisterCallback->binding_device_propertyies_changed; + g_RegisterCallback.binding_device_properties_changed = + pstRegisterCallback->binding_device_properties_changed; } if (NULL != pstRegisterCallback->binding_request_confirmation) |