Update libyang

Includes fix for typedefed bits. The upstream patch does include a test,
but I'm gonna have my own test here too.

Depends-on: https://cesnet-gerrit-czechlight/c/CzechLight/dependencies/+/3245
Depends-on: https://cesnet-gerrit-public/c/CzechLight/dependencies/+/3245
Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/3245
Depends-on: https://gerrit.cesnet.cz/c/CzechLight/cla-sysrepo/+/3248
Change-Id: I34fc5486a948204962d90bbe907d3e58b812b5af
diff --git a/submodules/dependencies b/submodules/dependencies
index 0a0e55a..ba3de22 160000
--- a/submodules/dependencies
+++ b/submodules/dependencies
@@ -1 +1 @@
-Subproject commit 0a0e55a64707009bb8022b5c706bc7a0edd1bf5c
+Subproject commit ba3de22763cabe419a03a8a1f75447043d43b1d5
diff --git a/tests/utils.cpp b/tests/utils.cpp
index 218fad4..fb85210 100644
--- a/tests/utils.cpp
+++ b/tests/utils.cpp
@@ -169,6 +169,16 @@
             bit AHOJ;
         }
     }
+    typedef capabilitiesType {
+        type bits {
+            bit router;
+            bit switch;
+            bit hub;
+        }
+    }
+    leaf capabilities {
+        type capabilitiesType;
+    }
     leaf dec64 {
         type decimal64 {
             fraction-digits 5;
@@ -222,6 +232,7 @@
     "test-schema:binary": "QUhPSgo=",
     "test-schema:empty": "",
     "test-schema:bits": "a AHOJ",
+    "test-schema:capabilities": "switch hub",
     "test-schema:dec64": "43242.43260",
     "test-schema:stuff": [
         {
@@ -354,6 +365,7 @@
             {"/test-schema:binary", binary_{"QUhPSgo="}},
             {"/test-schema:empty", empty_{}},
             {"/test-schema:bits", bits_{{"a", "AHOJ"}}},
+            {"/test-schema:capabilities", bits_{{"switch", "hub"}}},
             {"/test-schema:dec64", 43242.432600},
             {"/test-schema:stuff[name='Xaver']", special_{SpecialValue::List}},
             {"/test-schema:stuff[name='Xaver']/name", std::string{"Xaver"}},