aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-01-29 09:57:23 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-01-29 09:57:23 +0200
commitd04f4e1df5b2a4b7ab86362fb5b68992978e6738 (patch)
tree2809257fc01402ae6a93c406bffe3c3b8b7cc4b6 /src
parent253209e37f869638caec4f9ab9a7e45586380c07 (diff)
downloadbluez-d04f4e1df5b2a4b7ab86362fb5b68992978e6738.tar.gz
Remove redundant device_is_authenticating check
Diffstat (limited to 'src')
-rw-r--r--src/event.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/event.c b/src/event.c
index fa47e369..ff768c07 100644
--- a/src/event.c
+++ b/src/event.c
@@ -251,16 +251,6 @@ void btd_event_bonding_complete(bdaddr_t *local, bdaddr_t *peer,
if (!device)
return;
- if (!device_is_authenticating(device)) {
- /* This means that there was no pending PIN or SSP token
- * request from the controller, i.e. this is not a new
- * pairing */
- DBG("no pending auth request");
- return;
- }
-
- /* If this is a new pairing send the appropriate reply and signal for
- * it and proceed with service discovery */
device_bonding_complete(device, status);
}