Bluetooth: Refactor arguments of mgmt_device_connected
authorAlfonso Acosta <fons@spotify.com>
Tue, 7 Oct 2014 08:44:10 +0000 (08:44 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 05:56:23 +0000 (07:56 +0200)
commit48ec92fa4f16c0f71e95c31490c03b6c9e0e793b
tree4bbf2735a3f49394d1ec890137fb656078e5e077
parent866665f29382b4f189a51a649661ede9e35e9ace
Bluetooth: Refactor arguments of mgmt_device_connected

The values of a lot of the mgmt_device_connected() parameters come
straight from a hci_conn object. We can simplify the function by passing
the full hci_conn pointer to it.

Signed-off-by: Alfonso Acosta <fons@spotify.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c