fd0f5a8b71
Replace the single squashed 0001-bes2600-besser-cumulative-series.patch with 20 individual per-commit patches matching the bes2600/besser-danctnix-v3 branch in marfrit/bes2600-dkms. Also remove the duplicate 0003-arm64 entry that was a bug in pkgrel=3. Patch list: 0001 c5.1 defer scan and soften WARN on firmware reject 0002 c5.1.1 widen scan-defer backoff to 30s and decay reject_count 0003 c5.2 recover wedged firmware via mmc_hw_reset on link break 0004 c6.1 gate PM indication completion on pending request 0005 c6.2 short-circuit wake handshake when chip confirmed ACTIVE 0006 c7 self-detect when firmware does not honor PSM and skip 0007 c5.2.1 handle multi-function SDIO cards in mmc_hw_reset 0008 Patch A pre-empt AP-deauth-6 with reassoc on decrypt-fail storm 0009 Patch B bus_reset on connection-loss storm 0010 Patch F3 atomicize atomic_add() calls 0011 Patch F2 fix missing destroy_workqueue() on error in init_common 0012 Patch F1 fix concurrency UAF in bes2600_hw_scan / sched_scan 0013 Patch C v3 drop sdio_rx_work relay, IRQ→bh-direct 0014 Patch G restore SPDX identifiers + ST-Ericsson attribution 0015 Patch D atomicize ba_lock counters, drop the spinlock 0016 Patch E skip ps_state_lock when PSM-known-disabled 0017 Patch C2 replace ieee80211_rx_irqsafe with ieee80211_rx_ni 0018 Patch H bh.c hygiene cleanup (drop fossil blocks, dead stubs) 0019 besser#18 pending_record_lock SOFTIRQ-safe fix 0020 danctnix-flavor: export bus_reset helpers for bes2600_btuart Build pending (pkgrel=4 makepkg in progress on boltzmann). Signed-off-by: Claude (noether) <claude@reauktion.de>
48 lines
1.7 KiB
Diff
48 lines
1.7 KiB
Diff
From 0792ba44bb2f60e6f83e031364ee20739be71d01 Mon Sep 17 00:00:00 2001
|
|
From: Markus Fritsche <fritsche.markus@gmail.com>
|
|
Date: Wed, 20 May 2026 20:29:43 +0200
|
|
Subject: [PATCH 20/20] bes2600: export bus_reset helpers for danctnix
|
|
bes2600_btuart (danctnix-flavor)
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
bes2600_chrdev_do_bus_reset() and bes2600_chrdev_trigger_bus_reset() are
|
|
already present (added by the connection-loss bus_reset commit) but not
|
|
exported. danctnix's bes2600_btuart.c uses these symbols for BT power
|
|
switching and bus-error recovery; without EXPORT_SYMBOL_GPL the btuart
|
|
module cannot be built as a separate object in the intree staging tree.
|
|
|
|
The userspace /dev/bes2600 chardev remains intact for danctnix — btuart
|
|
depends on the internal chardev state machine. This commit is
|
|
danctnix-specific; the Mobian DKMS flavor does not need the exports.
|
|
|
|
Signed-off-by: Claude (noether) <claude@reauktion.de>
|
|
---
|
|
bes2600/bes_chardev.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/staging/bes2600/bes_chardev.c b/drivers/staging/bes2600/bes_chardev.c
|
|
index 801e4bf..35696af 100644
|
|
--- a/drivers/staging/bes2600/bes_chardev.c
|
|
+++ b/drivers/staging/bes2600/bes_chardev.c
|
|
@@ -1116,6 +1116,7 @@ int bes2600_chrdev_do_bus_reset(const struct sbus_ops *sbus_ops, struct sbus_pri
|
|
|
|
return 0;
|
|
}
|
|
+EXPORT_SYMBOL_GPL(bes2600_chrdev_do_bus_reset);
|
|
|
|
/*
|
|
* Trigger bes2600_chrdev_do_bus_reset() against the file-global
|
|
@@ -1128,6 +1129,7 @@ int bes2600_chrdev_trigger_bus_reset(void)
|
|
return bes2600_chrdev_do_bus_reset(bes2600_cdev.sbus_ops,
|
|
bes2600_cdev.sbus_priv);
|
|
}
|
|
+EXPORT_SYMBOL_GPL(bes2600_chrdev_trigger_bus_reset);
|
|
|
|
bool bes2600_chrdev_is_wifi_opened(void)
|
|
{
|
|
--
|
|
2.54.0
|
|
|