Bluetooth: SMP: Fix smp_send_pairing_req function name
Prefix smp_send_pairing_req with bt_* to maintain proper namespace in API. Change-Id: Ia1f0d1291c5298034b9f1312b0d5a94aaa099cd0 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
This commit is contained in:
parent
4d42645012
commit
8beeb0f3d3
3 changed files with 4 additions and 4 deletions
|
@ -466,5 +466,5 @@ int bt_security(struct bt_conn *conn, bt_security_t sec)
|
|||
keys->ltk.val);
|
||||
}
|
||||
|
||||
return smp_send_pairing_req(conn);
|
||||
return bt_smp_send_pairing_req(conn);
|
||||
}
|
||||
|
|
|
@ -388,7 +388,7 @@ static uint8_t smp_pairing_req(struct bt_conn *conn, struct bt_buf *buf)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int smp_send_pairing_req(struct bt_conn *conn)
|
||||
int bt_smp_send_pairing_req(struct bt_conn *conn)
|
||||
{
|
||||
struct bt_smp *smp = conn->smp;
|
||||
struct bt_smp_pairing *req;
|
||||
|
@ -830,7 +830,7 @@ static uint8_t smp_security_request(struct bt_conn *conn, struct bt_buf *buf)
|
|||
|
||||
return 0;
|
||||
pair:
|
||||
if (smp_send_pairing_req(conn) < 0) {
|
||||
if (bt_smp_send_pairing_req(conn) < 0) {
|
||||
return BT_SMP_ERR_UNSPECIFIED;
|
||||
}
|
||||
|
||||
|
|
|
@ -132,6 +132,6 @@ struct bt_smp_security_request {
|
|||
} __packed;
|
||||
|
||||
bool bt_smp_irk_matches(const uint8_t irk[16], const bt_addr_t *addr);
|
||||
int smp_send_pairing_req(struct bt_conn *conn);
|
||||
int bt_smp_send_pairing_req(struct bt_conn *conn);
|
||||
|
||||
void bt_smp_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue