commit | 2b8df323953bfbeb8289c56f43b7fcfa4c70e90a | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Thu Jan 15 08:04:21 2015 -0800 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Jan 15 21:59:38 2015 +0200 |
tree | efd11e0318af870634cf46514862d0f55238855b | |
parent | 327a71910cbecd873054c3fb764f1fc59ede5297 [diff] |
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>