Files
x1e-nixos/kernel/modules/ath12k/disable-rfkill.patch
T
2026-04-10 15:45:53 +04:00

12 lines
318 B
Diff

--- a/drivers/net/wireless/ath/ath12k/core.c
+++ b/drivers/net/wireless/ath/ath12k/core.c
@@ -77,6 +77,8 @@ static int ath12k_core_rfkill_config(struct ath12k_base *ab)
if (!(ab->target_caps.sys_cap_info & WMI_SYS_CAP_INFO_RFKILL))
return 0;
+ return 0;
+
if (ath12k_acpi_get_disable_rfkill(ab))
return 0;