Bluetooth: Remove connection interval parameters from hci_conn_params_set
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 1 Jul 2014 10:11:06 +0000 (12:11 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:53 +0000 (17:42 +0200)
commitd06b50ce14119acb04773a9808ccff5d1767b7e4
tree1f7efcb52dfabe5a22064bfe637a8749549fd8ee
parent8c87aae1fa2ffa89e5e840b8e928fa0eb5c13157
Bluetooth: Remove connection interval parameters from hci_conn_params_set

The connection interval parameter of hci_conn_params_set are always used
with the controller defaults. So just let hci_conn_params_add set the
controller default and not bother resetting them to controller defaults
every time the hci_conn_params_set is called.

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