Bluetooth: Change hci_conn_params_add to return the parameter struct
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 1 Jul 2014 10:11:04 +0000 (12:11 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:52 +0000 (17:42 +0200)
commit51d167c0972ef1496f2e6ab08aab602644d1f9bb
tree2563feff0947b7dea51588f7ecaf054790de3b5f
parentf81cd823a844c60349c40b53a1b84b5968113596
Bluetooth: Change hci_conn_params_add to return the parameter struct

When adding new connection parameters, it is useful to return either
the existing struct or the newly created one.

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