Bluetooth: Rename bt_conn_lookup_by_addr_le for consistency
Follow the same style as bt_conn_lookup_handle (i.e. drop the 'by'). Change-Id: I6a31104fc8beac13c357088e46a91bd713fcfdd4 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
ae58464b43
commit
7f72d21a96
2 changed files with 2 additions and 2 deletions
|
@ -309,7 +309,7 @@ struct bt_conn *bt_conn_lookup_handle(uint16_t handle)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
struct bt_conn *bt_conn_lookup_by_addr_le(const bt_addr_le_t *peer)
|
||||
struct bt_conn *bt_conn_lookup_addr_le(const bt_addr_le_t *peer)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ void bt_conn_del(struct bt_conn *conn);
|
|||
struct bt_conn *bt_conn_lookup_handle(uint16_t handle);
|
||||
|
||||
/* Look up an existing connection by address */
|
||||
struct bt_conn *bt_conn_lookup_by_addr_le(const bt_addr_le_t *peer);
|
||||
struct bt_conn *bt_conn_lookup_addr_le(const bt_addr_le_t *peer);
|
||||
|
||||
/* Increment conn reference count */
|
||||
struct bt_conn *bt_conn_get(struct bt_conn *conn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue