diff options
author | Johan Hedberg <[email protected]> | 2014-02-28 10:10:16 +0200 |
---|---|---|
committer | Johan Hedberg <[email protected]> | 2014-02-28 12:36:10 +0200 |
commit | 759331d7cc660be17bcdc5df53f196135f9dfaf6 (patch) | |
tree | 1ee15a589cd278f0ac9451434a962f8a64ca92ee /net/compat.c | |
parent | fe39c7b2dacf7fd4dcddc26704d01315ab92b7cb (diff) |
Bluetooth: Fix clearing SMP keys if pairing fails
If SMP fails we should not leave any keys (LTKs or IRKs) hanging around
the internal lists. This patch adds the necessary code to
smp_chan_destroy to remove any keys we may have in case of pairing
failure.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions