Bluetooth: BR/EDR: Rename connection req event handler

Shorten conn_req_event handler name to conn_req.

Change-Id: I74e69cc9e105a4b8c35c08dc182b36d15bfcaa41
Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
Arkadiusz Lichwa 2015-12-16 22:39:08 +01:00 committed by Anas Nashif
commit 1fb522d0ff

View file

@ -1485,7 +1485,7 @@ static int accept_conn(const bt_addr_t *bdaddr)
return 0;
}
static void conn_req_event(struct net_buf *buf)
static void conn_req(struct net_buf *buf)
{
struct bt_hci_evt_conn_request *evt = (void *)buf->data;
struct bt_conn *conn;
@ -1575,7 +1575,7 @@ static void hci_event(struct net_buf *buf)
switch (hdr->evt) {
#if defined(CONFIG_BLUETOOTH_BREDR)
case BT_HCI_EVT_CONN_REQUEST:
conn_req_event(buf);
conn_req(buf);
break;
case BT_HCI_EVT_CONN_COMPLETE:
conn_complete(buf);