Bluetooth: Disable auto-connection parameters when unpairing
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 22 Oct 2015 06:38:31 +0000 (09:38 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 22 Oct 2015 07:02:03 +0000 (09:02 +0200)
commitfc64361ac15318126c64193929616fc4832071a6
tree517aca371febeabd9585d1a2ed73eccc82ced81c
parent17bc08f0d1b17d6d5e4967c1b430af627c5f2041
Bluetooth: Disable auto-connection parameters when unpairing

For connection parameters that are left around until a disconnection
we should at least clear any auto-connection properties. This way a
new Add Device call is required to re-set them after calling Unpair
Device.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c