diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-07-01 06:11:05 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 11:42:53 -0400 |
commit | 8c87aae1fa2ffa89e5e840b8e928fa0eb5c13157 (patch) | |
tree | 574a88fd2d33d6468af99c9815acd2122ab76175 /mm | |
parent | 51d167c0972ef1496f2e6ab08aab602644d1f9bb (diff) |
Bluetooth: Use hci_conn_params_add within hci_conn_params_set
The hci_conn_params_add function provides the default allocation of
connection parameters. To avoid code duplication, use that code from
hci_conn_params_set to allocate or lookup parameter struct.
As a benefit the connection latency and supervision timeout parameters
are no longer reset to default when calling hci_conn_params_set.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions