patches: carry forward ucidef_set_wifi_country (0018)

Adds helper function to set WiFi country code in board configuration.

Renumbered from patches/0017.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-10-19 00:00:00 +02:00
parent fbf236413b
commit 4c640fa16e

View File

@@ -1,7 +1,9 @@
From 7346bf9308f3016139a2295bad3784941c1efa68 Mon Sep 17 00:00:00 2001
From 2ad3abb507ffcfd100b266956b1ef71bb215e985 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Thu, 22 Sep 2022 15:12:20 +0200
Subject: [PATCH 17/68] base-files: add ucidef_set_wifi_country
Subject: [PATCH 18/55] base-files: add ucidef_set_wifi_country
This allows CIG units to force a list of regdomains.
Signed-off-by: John Crispin <john@phrozen.org>
---
@@ -9,10 +11,10 @@ Signed-off-by: John Crispin <john@phrozen.org>
1 file changed, 6 insertions(+)
diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh
index c831469a24..133181ed18 100644
index 5293ce12c0..3155940e10 100644
--- a/package/base-files/files/lib/functions/uci-defaults.sh
+++ b/package/base-files/files/lib/functions/uci-defaults.sh
@@ -644,6 +644,12 @@ ucidef_set_wifi_scanning() {
@@ -733,6 +733,12 @@ ucidef_set_ssh_authorized_key() {
json_select ..
}