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 | 062bc304e68f54ed13d44c39ec055e08cfd4e883 (patch) | |
tree | f5ec1e52ceb5e15971c2767ce31dc6dc5a18b968 /binding-bluetooth/bluetooth-manager.c | |
parent | fa4479274ac0b6b5ce0652c7f758041c52a509aa (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 'binding-bluetooth/bluetooth-manager.c')
-rw-r--r-- | binding-bluetooth/bluetooth-manager.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/binding-bluetooth/bluetooth-manager.c b/binding-bluetooth/bluetooth-manager.c index 91dfa1c..b870e6f 100644 --- a/binding-bluetooth/bluetooth-manager.c +++ b/binding-bluetooth/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) |