diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/adapter.c | 14 | ||||
-rw-r--r-- | src/adapter.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/adapter.c b/src/adapter.c index e8e27715..4d5095c0 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -177,20 +177,6 @@ static int auth_req_cmp(const void *p1, const void *p2) return bda ? bacmp(&pb1->bdaddr, bda) : -1; } -void adapter_auth_request_replied(struct adapter *adapter, bdaddr_t *dba) -{ - GSList *l; - struct pending_auth_info *auth; - - l = g_slist_find_custom(adapter->auth_reqs, dba, auth_req_cmp); - if (!l) - return; - - auth = l->data; - - auth->replied = TRUE; -} - struct pending_auth_info *adapter_find_auth_request(struct adapter *adapter, bdaddr_t *dba) { diff --git a/src/adapter.h b/src/adapter.h index 729ef683..4e2366ba 100644 --- a/src/adapter.h +++ b/src/adapter.h @@ -159,7 +159,6 @@ int pending_remote_name_cancel(struct adapter *adapter); void remove_pending_device(struct adapter *adapter); -void adapter_auth_request_replied(struct adapter *adapter, bdaddr_t *dba); struct pending_auth_info *adapter_find_auth_request(struct adapter *adapter, bdaddr_t *dba); void adapter_remove_auth_request(struct adapter *adapter, bdaddr_t *dba); |