Bluetooth: Remove mgmt_set_service_cache
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 14 Dec 2011 22:47:37 +0000 (00:47 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 18 Dec 2011 19:37:26 +0000 (17:37 -0200)
commit14c0b60829751135346d71e7d11649c4f72dc9af
tree1b1520fdb7a3175f3cba319a5678416da7a168f8
parentf7c6869cebe631582fdc2ac57459ee217ce9b015
Bluetooth: Remove mgmt_set_service_cache

Instead of having an explicit service cache command we can make the mgmt
API simpler by implicitly enabling the cache when mgmt_read_info is
called for the first time and disabling it when mgmt_set_dev_class is
called.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_sock.c
net/bluetooth/mgmt.c