]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix remove_device behavior for explicit connects
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 16 Oct 2015 07:07:52 +0000 (10:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 16 Oct 2015 07:24:41 +0000 (09:24 +0200)
commit0486431394e19fd45fbfb4782548c8014f1ae7ed
tree187fa4a6c496d44748e751cb51e47222a7d644bc
parent0744e4a4d36a4694f235b3111fb52d66397dea3e
Bluetooth: Fix remove_device behavior for explicit connects

Devices undergoing an explicit connect should not have their
conn_params struct removed by the mgmt Remove Device command. This
patch fixes the necessary checks in the command handler to correct the
behavior.

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