summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-basic-station/lora-basic-station-sys-linux-log-fix.patch
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-03-12 12:41:38 -0500
committerJason Reiss <jreiss@multitech.com>2020-03-12 12:41:38 -0500
commitd47e6d997a114e5b2899bd3d4a0359843dd211d2 (patch)
tree24f149cc19a84d2bf92164ebd5397efac8c5ce15 /recipes-connectivity/lora/lora-basic-station/lora-basic-station-sys-linux-log-fix.patch
parent4f6244cf5d3310724cc0d1cbff8b864055332af2 (diff)
downloadmeta-mlinux-d47e6d997a114e5b2899bd3d4a0359843dd211d2.tar.gz
meta-mlinux-d47e6d997a114e5b2899bd3d4a0359843dd211d2.tar.bz2
meta-mlinux-d47e6d997a114e5b2899bd3d4a0359843dd211d2.zip
lora: add MTCAP2 global_conf files, adjust init scripts to detect MTCAP2
Diffstat (limited to 'recipes-connectivity/lora/lora-basic-station/lora-basic-station-sys-linux-log-fix.patch')
-rw-r--r--recipes-connectivity/lora/lora-basic-station/lora-basic-station-sys-linux-log-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-connectivity/lora/lora-basic-station/lora-basic-station-sys-linux-log-fix.patch b/recipes-connectivity/lora/lora-basic-station/lora-basic-station-sys-linux-log-fix.patch
new file mode 100644
index 0000000..83be080
--- /dev/null
+++ b/recipes-connectivity/lora/lora-basic-station/lora-basic-station-sys-linux-log-fix.patch
@@ -0,0 +1,14 @@
+diff --git a/src-linux/sys_linux.c b/src-linux/sys_linux.c
+index f8286c8..7afc073 100644
+--- a/src-linux/sys_linux.c
++++ b/src-linux/sys_linux.c
+@@ -724,7 +724,7 @@ static int parseStationConf () {
+ case J_nodc:
+ case J_nodwell:
+ case J_device_mode: {
+- LOG(MOD_S2E|WARNING, "Feature not supported in production level code (station.conf) - ignored: %s", D->field.name);
+- uj_skipValue(D);
++ LOG(MOD_S2E|WARNING, "Feature not supported in production level code (station.conf) - ignored: %s", D.field.name);
++ uj_skipValue(&D);
+ break;
+ }