]> 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)
commite1012945fce91ca3fa86ef87315a22e2136648ca
tree102dcc1a12aabf082aae6a8403a1add095afe044
parent53570bf81897b75a047dceff63655fdeabf6d9a2
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