summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorKiran K <kiran.k@intel.com>2023-02-28 14:01:54 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-03-23 02:05:55 +0300
commit294d749b5df5a22d17989833fb1a0a2cd1dfd243 (patch)
treeb4255c84b3e6ae890b989664b6ff8774caeb7e21 /include/net
parent2f10e40a948e8a2abe7f983df3959a333ca8955f (diff)
downloadlinux-294d749b5df5a22d17989833fb1a0a2cd1dfd243.tar.xz
Bluetooth: btintel: Iterate only bluetooth device ACPI entries
Current flow interates over entire ACPI table entries looking for Bluetooth Per Platform Antenna Gain(PPAG) entry. This patch iterates over ACPI entries relvant to Bluetooth device only. Fixes: c585a92b2f9c ("Bluetooth: btintel: Set Per Platform Antenna Gain(PPAG)") Signed-off-by: Kiran K <kiran.k@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 7254edfba4c9..6ed9b4d546a7 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1613,6 +1613,7 @@ void hci_conn_add_sysfs(struct hci_conn *conn);
void hci_conn_del_sysfs(struct hci_conn *conn);
#define SET_HCIDEV_DEV(hdev, pdev) ((hdev)->dev.parent = (pdev))
+#define GET_HCIDEV_DEV(hdev) ((hdev)->dev.parent)
/* ----- LMP capabilities ----- */
#define lmp_encrypt_capable(dev) ((dev)->features[0][0] & LMP_ENCRYPT)