commit | 030e7f8141a262e32dc064d7cf12377d769d45c2 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Nov 10 09:44:53 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Nov 19 17:50:28 2015 +0100 |
tree | dde18cba056831623ed79663dd23a628bb96ca75 | |
parent | ac71494934c475e3f51e5e3e64a12f57618d82a4 [diff] |
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>