linux/include/net/bluetooth
Marcel Holtmann 79d95a19a4 Bluetooth: Remove pointless bdaddr_to_le() helper function
The bdaddr_to_le() function tries to convert the internal address
type to one that matches the HCI address type for LE. It does not
handle any address types not used by LE and in the end just make
the code a lot harder to read.

So instead of just hiding behind a magic function, just convert
the internal address type where it needs to be converted. And it
turns out that these are only two cases anyway. One when creating
new LE connections and the other when loading the long term keys.
In both cases this makes it more clear on what it going on.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2013-10-13 17:45:55 +03:00
..
bluetooth.h Bluetooth: Replace BDADDR_LOCAL with BDADDR_NONE 2013-10-02 09:09:57 +03:00
hci_core.h Bluetooth: Remove pointless bdaddr_to_le() helper function 2013-10-13 17:45:55 +03:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci.h Bluetooth: Read location data on AMP controller init 2013-10-07 16:53:40 +02:00
l2cap.h Bluetooth: Remove l2cap_conn->src and l2cap_conn->dst pointers 2013-10-13 17:45:24 +03:00
mgmt.h Bluetooth: Add management command for setting LE scan parameters 2013-10-11 18:18:13 +02:00
rfcomm.h Bluetooth: Remove RFCOMM session refcnt 2013-03-08 10:40:24 -03:00
sco.h Bluetooth: Add Bluetooth socket voice option 2013-08-21 16:47:09 +02:00