Hi Johan, > 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 disabiling it when mgmt_set_dev_class is it is "disabling". > called. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 4 +++ > include/net/bluetooth/mgmt.h | 5 --- > net/bluetooth/hci_sock.c | 7 +++- > net/bluetooth/mgmt.c | 56 +++++--------------------------------- > 4 files changed, 16 insertions(+), 56 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html