It better suits what this function really does.
*pairable = adapter->pairable;
}
-void btd_adapter_get_class(struct btd_adapter *adapter, uint8_t *major,
+void btd_adapter_read_class(struct btd_adapter *adapter, uint8_t *major,
uint8_t *minor)
{
uint8_t cls[3];
uint16_t *discoverable_timeout,
gboolean *pairable);
-void btd_adapter_get_class(struct btd_adapter *adapter, uint8_t *major,
+void btd_adapter_read_class(struct btd_adapter *adapter, uint8_t *major,
uint8_t *minor);
const char *btd_adapter_get_name(struct btd_adapter *adapter);
struct btd_device *adapter_get_device(struct btd_adapter *adapter,
else
adapter_name_changed(adapter, (char *) rp->name);
- btd_adapter_get_class(adapter, &major, &minor);
+ btd_adapter_read_class(adapter, &major, &minor);
mgmt_set_dev_class(index, major, minor);
btd_adapter_get_mode(adapter, &mode, NULL, NULL, NULL);