package/esp-hosted: bump to version 2025-01-13
This commit is contained in:
parent
080d9d5999
commit
cb63980972
@ -1,31 +0,0 @@
|
||||
diff --git a/esp_hosted_ng/host/esp_bt.c b/esp_hosted_ng/host/esp_bt.c
|
||||
index 3b78c116..7f08c8d0 100644
|
||||
--- a/esp_hosted_ng/host/esp_bt.c
|
||||
+++ b/esp_hosted_ng/host/esp_bt.c
|
||||
@@ -173,6 +173,7 @@ int esp_deinit_bt(struct esp_adapter *adapter)
|
||||
|
||||
hdev = adapter->hcidev;
|
||||
|
||||
+ hci_set_drvdata(hdev, NULL);
|
||||
hci_unregister_dev(hdev);
|
||||
hci_free_dev(hdev);
|
||||
|
||||
@@ -227,6 +228,9 @@ int esp_init_bt(struct esp_adapter *adapter)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
+ if (adapter->dev)
|
||||
+ SET_HCIDEV_DEV(hdev, adapter->dev);
|
||||
+
|
||||
hdev->open = esp_bt_open;
|
||||
hdev->close = esp_bt_close;
|
||||
hdev->flush = esp_bt_flush;
|
||||
@@ -242,8 +246,6 @@ int esp_init_bt(struct esp_adapter *adapter)
|
||||
|
||||
hdev->dev_type = HCI_PRIMARY;
|
||||
|
||||
- SET_HCIDEV_DEV(hdev, adapter->dev);
|
||||
-
|
||||
ret = hci_register_dev(hdev);
|
||||
if (ret < 0) {
|
||||
BT_ERR("Can not register HCI device");
|
@ -1,13 +0,0 @@
|
||||
diff --git a/esp_hosted_ng/host/esp_cmd.c b/esp_hosted_ng/host/esp_cmd.c
|
||||
index 4b8bab3d..ec5f7c23 100644
|
||||
--- a/esp_hosted_ng/host/esp_cmd.c
|
||||
+++ b/esp_hosted_ng/host/esp_cmd.c
|
||||
@@ -452,7 +452,7 @@ static int create_cmd_wq(struct esp_adapter *adapter)
|
||||
static void destroy_cmd_wq(struct esp_adapter *adapter)
|
||||
{
|
||||
if (adapter->cmd_wq) {
|
||||
- flush_scheduled_work();
|
||||
+ cancel_work_sync(&adapter->cmd_work);
|
||||
destroy_workqueue(adapter->cmd_wq);
|
||||
adapter->cmd_wq = NULL;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 1c4df08132d5204a01adc2797e8f6f6d7ff945609b288cfe2dc2ea50789e8af4 esp-hosted-6a25417fc880fd744b3b0d93c11659c3e7d86384.tar.gz
|
||||
sha256 d782ea902f587e413523a24f01b7750def55ad544d6dc0b6c664c5707415c0cb esp-hosted-b83e0d5dfdd145e0448e3d7c3ac7e7d0b1e953c8.tar.gz
|
||||
sha256 ed57d96d27be775b22f9571d3724ef84e0d0b8f24b805ec7f87a32189de19a9c LICENSE
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ESP_HOSTED_VERSION = 6a25417fc880fd744b3b0d93c11659c3e7d86384
|
||||
ESP_HOSTED_VERSION = b83e0d5dfdd145e0448e3d7c3ac7e7d0b1e953c8
|
||||
ESP_HOSTED_SITE = $(call github,espressif,esp-hosted,$(ESP_HOSTED_VERSION))
|
||||
ESP_HOSTED_DEPENDENCIES = linux
|
||||
ESP_HOSTED_LICENSE = GPL-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user