commit | 12d4a3b2ccb3ac2bd56e7c216d6e7f44730006f3 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Feb 24 14:52:18 2014 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Feb 24 11:10:36 2014 -0800 |
tree | 432f3b547d28cf36591b817deaaacd6cecae2618 | |
parent | 778b235a3be0588da1909f7ef75b4bc3dbc09dfc [diff] |
Bluetooth: Move check for MGMT_CONNECTED flag into mgmt.c Once mgmt_set_powered(off) starts doing disconnections we'll need to care about any disconnections in mgmt.c and not just those with the MGMT_CONNECTED flag set. Therefore, move the check into mgmt.c from hci_event.c. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>