]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf232731e890cee77a79871dc21409c2f92e00f46
tree102dcc1a12aabf082aae6a8403a1add095afe044
parent5d325be502c0e8c196fee83fa3ba1ffd0acad181
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