mirror of
https://github.com/optim-enterprises-bv/openwrt-ipq.git
synced 2025-10-29 09:23:01 +00:00
ath10k-ct: fix incompatible pointer type
Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot hif start\n");
|
||||
|
||||
+ dev_set_threaded(&ar->napi_dev, true);
|
||||
+ dev_set_threaded(ar->napi_dev, true);
|
||||
ath10k_core_napi_enable(ar);
|
||||
|
||||
ath10k_pci_irq_enable(ar);
|
||||
@@ -21,13 +21,13 @@
|
||||
--- a/ath10k-6.10/core.c
|
||||
+++ b/ath10k-6.10/core.c
|
||||
@@ -4576,6 +4576,10 @@ struct ath10k *ath10k_core_create(size_t
|
||||
if (!ar->napi_dev)
|
||||
goto err_free_tx_complete;
|
||||
if (!ar->napi_dev)
|
||||
goto err_free_tx_complete;
|
||||
|
||||
+ snprintf(ar->napi_dev.name, sizeof(ar->napi_dev.name), "ath10k_%s",
|
||||
+ snprintf(ar->napi_dev->name, sizeof(ar->napi_dev->name), "ath10k_%s",
|
||||
+ wiphy_name(ar->hw->wiphy));
|
||||
+ dev_set_threaded(&ar->napi_dev, true);
|
||||
+ dev_set_threaded(ar->napi_dev, true);
|
||||
+
|
||||
ret = ath10k_coredump_create(ar);
|
||||
if (ret)
|
||||
goto err_free_netdev;
|
||||
goto err_free_netdev;
|
||||
|
||||
Reference in New Issue
Block a user