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>
This commit is contained in:
Alfonso Acosta 2014-10-07 08:44:10 +00:00 • committed by Marcel Holtmann
commit 48ec92fa4f
4 changed files with 13 additions and 23 deletions