Bluetooth: Fix missing update of pend_le_reports
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Jul 2014 16:33:47 +0000 (19:33 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 16:45:08 +0000 (18:45 +0200)
commit617ca1bf11de84c23d1c83724fa89cfdc83b023a
treefff773d813f2a67b5d73c2bda25ffa9a3bee9391
parentba1d6936f6f83927f17a28ecc9cbb989fa0a7e34
Bluetooth: Fix missing update of pend_le_reports

When calling Remove Device for an entry using HCI_AUTO_CONN_REPORT we
need to decrement the pend_le_reports value correspondingly. This patch
fixes one such missing action in the Remove Device command handler.

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