Commit 7ffaa200 authored by Kiran K's avatar Kiran K Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: btintel_pcie: Allocate memory for driver private data



Fix driver not allocating memory for struct btintel_data which is used
to store internal data.

Fixes: 6e65a09f ("Bluetooth: btintel_pcie: Add *setup* function to download firmware")
Signed-off-by: default avatarKiran K <kiran.k@intel.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 7b059333
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1224,7 +1224,7 @@ static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data)
	int err;
	struct hci_dev *hdev;

	hdev = hci_alloc_dev();
	hdev = hci_alloc_dev_priv(sizeof(struct btintel_data));
	if (!hdev)
		return -ENOMEM;