]> 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)
commitbb2f55b9333bb6d90375f987fad91540eca6da63
tree187fa4a6c496d44748e751cb51e47222a7d644bc
parentb8aaf5005e9bfe11b0653a96ca4fe4bf5fc7342b
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