summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-04 11:02:49 -0800
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-04 11:04:17 -0800
commit655c87e622c7cf4b1b6a291ef7bd46a0e6b044aa (patch)
treef213b52c49d8947dab612a23bd664bbe59a419bd /src
parent9e7fe9f01d47a671ab5a6bc333abaa1a9782b58a (diff)
Don't clear the authentication request completely on SSP complete
Diffstat (limited to 'src')
-rw-r--r--src/device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index df68639d..fa8658e5 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1822,9 +1822,6 @@ void device_simple_pairing_complete(struct btd_device *device, uint8_t status)
if (auth && auth->type == AUTH_TYPE_NOTIFY && auth->agent)
agent_cancel(auth->agent);
-
- g_free(auth);
- device->authr = NULL;
}
void device_bonding_complete(struct btd_device *device, uint8_t status)