]> git.karo-electronics.de Git - mv-sheeva.git/commit
Bluetooth: mgmt: Move service cache setting to a more sensible place
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 19:30:12 +0000 (21:30 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 20:02:27 +0000 (22:02 +0200)
commit4004b6d96a14edbd157a62ae25bf61022d7caccc
treed35340b52ec5a9878ee40ead24f96b1d3774f149
parent9997a5332320dbaaee64b5c0581ccaa6589a15c9
Bluetooth: mgmt: Move service cache setting to a more sensible place

Since we can now add UUIDs when powered off we don't really need to
always use the service cache to avoid large bursts of HCI commands.
Instead, the only important use case is when we're already powered and
user space starts to initialize itself. This can be easiest detected by
a "clear UUIDs" operation which is where this patch moves the service
cache setting.

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