summaryrefslogtreecommitdiffstats
path: root/patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
diff options
context:
space:
mode:
authorChristian Melki <christian.melki@t2data.com>2022-09-23 09:24:30 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-09-23 16:10:29 +0200
commit2e94022092149d56ffe9b009f6fa98413446f62b (patch)
treea92a52a06942113aee0d99953b45aaca419113f7 /patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
parentd063c0db07766e7148f5d623d727db80d4611b82 (diff)
downloadptxdist-2e94022092149d56ffe9b009f6fa98413446f62b.tar.gz
ptxdist-2e94022092149d56ffe9b009f6fa98413446f62b.tar.xz
crda: Version bump. crda 4.14 -> 4.15. regdb 2022.06.06 -> 2022.08.12.
Very minor fixes. crda is just a release tag on the latest commit, which is a couple of years already. * Forward patches. Minor changes to make them apply. Signed-off-by: Christian Melki <christian.melki@t2data.com> Message-Id: <20220923072430.652471-1-christian.melki@t2data.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch')
-rw-r--r--patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch b/patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
new file mode 100644
index 000000000..551b84bf6
--- /dev/null
+++ b/patches/crda-4.15/0004-udev-Fix-rule-for-initial-setup.patch
@@ -0,0 +1,20 @@
+From: Markus Pargmann <mpa@pengutronix.de>
+Date: Thu, 17 Apr 2014 11:59:59 +0200
+Subject: [PATCH] udev: Fix rule for initial setup
+
+Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
+---
+ udev/regulatory.rules | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/udev/regulatory.rules b/udev/regulatory.rules
+index 3d6add895784..98296961f0ed 100644
+--- a/udev/regulatory.rules
++++ b/udev/regulatory.rules
+@@ -2,4 +2,5 @@
+ # For more information see:
+ # http://wireless.kernel.org/en/developers/Regulatory/CRDA
+
+-KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="$(SBINDIR)crda"
++KERNEL=="regulatory*", ACTION=="add", SUBSYSTEM=="platform", ENV{COUNTRY}="00"
++KERNEL=="regulatory*", ACTION=="add|change", SUBSYSTEM=="platform", RUN+="$(SBINDIR)crda"