]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update background scanning from hci_conn_params_clear
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 29 Jun 2014 11:41:51 +0000 (13:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:49 +0000 (17:42 +0200)
commit5e1d25928afee54b24216201e3fd5ec1de68da2f
tree88cd343359952437a313d3077d6effe7e30142cb
parentba042a60856aece5ca8682b101a6a37be55b7f49
Bluetooth: Update background scanning from hci_conn_params_clear

When calling hci_conn_params_clear function, it should update the
background scanning properly and not require a separate call to
update it.

For the case when the function is used during unregister of a
controller, an extra safe guard is but in place.

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