commit | e9ca8bf157f2b45f8f670517c96da313083ee9b2 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Sun Oct 04 23:34:02 2015 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Mon Oct 05 10:30:25 2015 +0300 |
tree | 7aaa31766e0af85588a84f0d06d65d5b77375f7b | |
parent | 73d0d3c8671190ea982a8e79a7c79fbfe88f8f47 [diff] |
Bluetooth: Move handling of HCI_RUNNING flag into core Setting and clearing of HCI_RUNNING flag in each and every driver is just duplicating the same code all over the place. So instead of having the driver do it in their hdev->open and hdev->close callbacks, set it globally in the core transport handling. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>