]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Clear pending connections from hci_conn_params_clear
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 29 Jun 2014 11:41:50 +0000 (13:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:49 +0000 (17:42 +0200)
commit9a664087967efce6b77c34a9ed748611e7b0fa6c
tree7f63c0dd5903743a28d825f84ddb8245a4fed275
parent4a2e0a3b1a2962ea7b8481d0a0153ba803e58375
Bluetooth: Clear pending connections from hci_conn_params_clear

When hci_conn_params_clear is called, it is always followed by a
call to hci_pend_le_conns_clear. So instead of making this explicit
just make sure it is always called. This makes this function similar
on how hci_conn_params_add and hci_conn_params_del work.

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