diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-01-15 08:04:21 -0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-01-15 21:59:38 +0200 |
commit | 2b8df323953bfbeb8289c56f43b7fcfa4c70e90a (patch) | |
tree | efd11e0318af870634cf46514862d0f55238855b /net/bluetooth/hci_conn.c | |
parent | 327a71910cbecd873054c3fb764f1fc59ede5297 (diff) | |
download | lwn-2b8df323953bfbeb8289c56f43b7fcfa4c70e90a.tar.gz lwn-2b8df323953bfbeb8289c56f43b7fcfa4c70e90a.zip |
Bluetooth: Add paranoid check for existing LE and BR/EDR SMP channels
When the SMP channels have been already registered, then print out a
clear WARN_ON message that something went wrong. Also unregister the
existing channels in this case before trying to register new ones.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
0 files changed, 0 insertions, 0 deletions