Bluetooth: Remove unnecessary mgmt_advertising function
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 8 Jul 2014 12:07:48 +0000 (15:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 8 Jul 2014 12:22:06 +0000 (14:22 +0200)
commitc93bd15033027928709ee15bab2ce1f5582085c6
tree102dcc1a12aabf082aae6a8403a1add095afe044
parent66c417c1ee01398ac5ab1c749a20c4d8ba50e9a9
Bluetooth: Remove unnecessary mgmt_advertising function

Since the real advertising state is now tracked with its own flag we can
simply set/unset the HCI_ADVERTISING flag in the
set_advertising_complete function.

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