Bluetooth: Move HCI_ADVERTISING handling into mgmt.c
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Feb 2014 12:52:17 +0000 (14:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Feb 2014 19:10:36 +0000 (11:10 -0800)
commit778b235a3be0588da1909f7ef75b4bc3dbc09dfc
tree3f9a369d3324f38f7a5e87527974c7271584de4f
parentf4f07505005932ca5f6c8003323bd38dbd0c769c
Bluetooth: Move HCI_ADVERTISING handling into mgmt.c

We'll soon need to make decisions on toggling the HCI_ADVERTISING flag
based on pending mgmt_set_powered commands. Therefore, move the handling
from hci_event.c into mgmt.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