]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Return updated name state with hci_inquiry_cache_update
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 4 Jan 2012 11:39:52 +0000 (13:39 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:20 +0000 (17:01 +0200)
commitccf29b08b0265b3fff8ad0408e9678998c2a2c35
treecf75dda123120a5a48ee322c3248ea73d37cbdcc
parent8b58080b5d04551fe2193fa0aeb17c3818a3bfcc
Bluetooth: Return updated name state with hci_inquiry_cache_update

If user-space has already confirmed the name for a remote device we
shouldn't request confirmation again. The simplest way to do this is to
return the name state from hci_inquiry_cache_update (if it is anything
else than unknown then we do not need confirmation from user-space).

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