]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unnecessary call to hci_update_background_scan
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 10 Nov 2015 07:44:53 +0000 (09:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Nov 2015 16:50:28 +0000 (17:50 +0100)
commitd5ec48a8830a8692e34a90e3dca8f8e822da99d2
treedde18cba056831623ed79663dd23a628bb96ca75
parentd1314551bb60fa5f37a7035eb8a83a381efe9b12
Bluetooth: Remove unnecessary call to hci_update_background_scan

The hci_conn_params_clear_all() function is only called from
hci_unregister_dev() at which point it's completely futile to try to
do any LE scanning updates. Simply remove this unnecessary function
call. At the same time we can make the function static since it's only
accessed from within the same c-file.

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