diff options
author | Johan Hedberg | 2013-10-01 22:44:49 +0300 |
---|---|---|
committer | Marcel Holtmann | 2013-10-01 23:27:08 -0700 |
commit | cbed0ca137ef442c545602a09030bbb35d8db013 (patch) | |
tree | 6cbbac4e5508362607a92e35b24dbf4ef316e29a /drivers | |
parent | 922ca1dfc2127a5dc363e8c1e6c8a33c5a0a14c6 (diff) |
Bluetooth: Refactor hci_dev_open to a separate hci_dev_do_open function
The requirements of an external call to hci_dev_open from hci_sock.c are
different to that from within hci_core.c. In the former case we want to
flush any pending work in hdev->req_workqueue whereas in the latter we
don't (since there we are already calling from within the workqueue
itself). This patch does the necessary refactoring to a separate
hci_dev_do_open function (analogous to hci_dev_do_close) but does not
yet introduce the synchronizations relating to the workqueue usage.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions