]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Move check for MGMT_CONNECTED flag into mgmt.c
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Feb 2014 12:52:18 +0000 (14:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Feb 2014 19:10:36 +0000 (11:10 -0800)
commit12d4a3b2ccb3ac2bd56e7c216d6e7f44730006f3
tree432f3b547d28cf36591b817deaaacd6cecae2618
parent778b235a3be0588da1909f7ef75b4bc3dbc09dfc
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c