Bluetooth: Split hci_update_page_scan into two functions
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 19 Dec 2014 11:40:19 +0000 (13:40 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 19 Dec 2014 11:52:18 +0000 (12:52 +0100)
commit1d2dc5b7b32393bb2d818e0de82a66b1a654d329
tree7318d9ed34bbe00945e98e6106a5fb2ba47a65ba
parentc8c7e3db819f4fc483793d55655cbbae045203f0
Bluetooth: Split hci_update_page_scan into two functions

To keep the parameter list and its semantics clear it makes sense to
split the hci_update_page_scan function into two separate functions: one
taking a hci_dev and another taking a hci_request. The one taking a
hci_dev constructs its own hci_request and then calls the other
function.

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
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c