Bluetooth: Make hci_le_conn_update return the store hint
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 2 Jul 2014 14:37:31 +0000 (17:37 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:57 +0000 (17:42 +0200)
commit7d6ca6939cb2f701204317cbab15af1b98f7f501
tree0ffa6387305b7da18965c8e92383ddb25dc5928d
parent348d50b8e96c2c4630801e6e720c7c722ade83e8
Bluetooth: Make hci_le_conn_update return the store hint

The caller of hci_le_conn_update is directly interested in knowing what
the best value is for the store_hint parameter of the corresponding
mgmt event. Since hci_le_conn_update knows whether there were stored
parameters that were updated or not we can have it return an initial
store_hint value to the caller.

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