Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4666881 authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Gustavo Padovan
Browse files

Bluetooth: trivial: Correct endian conversion



Correct endian conversion reported by sparse

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 341352d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3336,7 +3336,7 @@ static inline void hci_le_ltk_request_evt(struct hci_dev *hdev,
	struct hci_conn *conn;
	struct smp_ltk *ltk;

	BT_DBG("%s handle %d", hdev->name, cpu_to_le16(ev->handle));
	BT_DBG("%s handle %d", hdev->name, __le16_to_cpu(ev->handle));

	hci_dev_lock(hdev);