From: Marcel Holtmann Date: Tue, 1 Jul 2014 10:11:05 +0000 (+0200) Subject: Bluetooth: Use hci_conn_params_add within hci_conn_params_set X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c87aae1fa2ffa89e5e840b8e928fa0eb5c13157;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed