Bluetooth: Remove unnecessary HCI_ADVERTISING_INSTANCE flag
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 26 Nov 2015 10:15:59 +0000 (12:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:49 +0000 (00:51 +0100)
commit17fd08ffb5981cff2c921eb479f46b872b02b2b9
tree7c60ea06dddddd510508ffed7580dc2efc4fe8d0
parent02c04afea93fbba7925984df455bc63e7d92da97
Bluetooth: Remove unnecessary HCI_ADVERTISING_INSTANCE flag

This flag just tells us whether hdev->adv_instances is empty or not.
We can equally well use the list_empty() function to get this
information.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_request.c
net/bluetooth/mgmt.c