mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-05 01:54:22 +08:00
device: Add btd_ prefix to device_set_pnpid()
As device_set_pnpid() is used inside a plugin it should have the btd_ prefix.
This commit is contained in:
parent
35a9ae3336
commit
e224fd82eb
@ -106,7 +106,7 @@ static void read_pnpid_cb(guint8 status, const guint8 *pdu, guint16 len,
|
||||
return;
|
||||
}
|
||||
|
||||
device_set_pnpid(ch->d->dev, value[0], att_get_u16(&value[1]),
|
||||
btd_device_set_pnpid(ch->d->dev, value[0], att_get_u16(&value[1]),
|
||||
att_get_u16(&value[3]), att_get_u16(&value[5]));
|
||||
}
|
||||
|
||||
|
@ -2349,7 +2349,7 @@ static void update_bredr_services(struct browse_req *req, sdp_list_t *recs)
|
||||
version = pdlist ? pdlist->val.uint16 : 0x0000;
|
||||
|
||||
if (source || vendor || product || version)
|
||||
device_set_pnpid(device, source, vendor,
|
||||
btd_device_set_pnpid(device, source, vendor,
|
||||
product, version);
|
||||
}
|
||||
|
||||
@ -4101,7 +4101,7 @@ gboolean btd_device_remove_attio_callback(struct btd_device *device, guint id)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void device_set_pnpid(struct btd_device *device, uint8_t vendor_id_src,
|
||||
void btd_device_set_pnpid(struct btd_device *device, uint8_t vendor_id_src,
|
||||
uint16_t vendor_id, uint16_t product_id,
|
||||
uint16_t product_ver)
|
||||
{
|
||||
|
@ -116,7 +116,7 @@ void btd_device_unref(struct btd_device *device);
|
||||
int device_block(struct btd_device *device, gboolean update_only);
|
||||
int device_unblock(struct btd_device *device, gboolean silent,
|
||||
gboolean update_only);
|
||||
void device_set_pnpid(struct btd_device *device, uint8_t vendor_id_src,
|
||||
void btd_device_set_pnpid(struct btd_device *device, uint8_t vendor_id_src,
|
||||
uint16_t vendor_id, uint16_t product_id,
|
||||
uint16_t product_ver);
|
||||
GIOChannel *device_att_connect(gpointer user_data);
|
||||
|
Loading…
Reference in New Issue
Block a user