]> Git Repo - esp-hosted.git/commit
esp_hosted_ng: Fix Bluetooth build failure on if HCI_PRIMARY is not defined
authorGiulio Benetti <[email protected]>
Mon, 3 Jun 2024 19:53:38 +0000 (21:53 +0200)
committerShreyas Sheth <[email protected]>
Wed, 5 Jun 2024 05:54:52 +0000 (11:24 +0530)
commitc74b84fb36b7d9dd04b83411ecadfe05d68f486d
tree3eedf109cbd668bf49ba0503fcf3d6c58775c959
parent2eb1fff5b7b18af20087ace3a35ba596172acdd5
esp_hosted_ng: Fix Bluetooth build failure on if HCI_PRIMARY is not defined

After Linux commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=84a4bb6548a29326564f0e659fb8064503ecc1c7
BT_HS has been removed and consequently AMP controllers can't be created,
so at this point only HCI_PRIMARY has been left as unique controller type
to be created and this became implicit with no need to define if the
controller if HCI_PRIMARY or HCI_AMP. So let's assign HCI_PRIMARY only if
it's defined, otherwise do nothing.

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Shreyas Sheth <[email protected]>
esp_hosted_ng/host/esp_bt.c
This page took 0.028924 seconds and 5 git commands to generate.