Bluetooth: Remove auth_type parameter from hci_connect_le()
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Jul 2014 12:02:27 +0000 (15:02 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 7 Jul 2014 13:18:07 +0000 (15:18 +0200)
commitd93375a82da10cb023afc945fa18471bf3c41704
tree48e919e58d10a86052905d2ccf67535ddc181b4e
parent2b7be33e60c631b3080099baf14c43505fa8017d
Bluetooth: Remove auth_type parameter from hci_connect_le()

The auth_type value which gets assigned to hci_conn->auth_type is
something that's only used for BR/EDR connections and is of no value for
LE connections. It makes therefore little sense to pass it to the
hci_connect_le() function. This patch removes the parameter from the
function.

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
net/bluetooth/hci_event.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c