[PATCH] libmbim-glib: fix UUID for 'Basic Connectivity Extensions' service

Ben Chan benchan at chromium.org
Sun Sep 16 18:52:39 UTC 2018


The 'Basic Connectivity Extensions' service UUID was inconsistently
stated in some Microsoft documentations, which has been fixed in [1].
This patch updates libmbim to use the correct UUID for the 'Basic
Connectivity Extensions' service UUID, which is
3d01dcc5-fef5-4d05-0d3a-bef7058e9aaf.

[1] https://github.com/MicrosoftDocs/windows-driver-docs/issues/831
---
 src/libmbim-glib/mbim-uuid.c      | 2 +-
 src/libmbim-glib/test/test-uuid.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libmbim-glib/mbim-uuid.c b/src/libmbim-glib/mbim-uuid.c
index 7b0c182..376eeb7 100644
--- a/src/libmbim-glib/mbim-uuid.c
+++ b/src/libmbim-glib/mbim-uuid.c
@@ -256,7 +256,7 @@ static const MbimUuid uuid_basic_connect_extensions = {
     .a = { 0x3d, 0x01, 0xdc, 0xc5 },
     .b = { 0xfe, 0xf5 },
     .c = { 0x4d, 0x05 },
-    .d = { 0x9d, 0x3a },
+    .d = { 0x0d, 0x3a },
     .e = { 0xbe, 0xf7, 0x05, 0x8e, 0x9a, 0xaf }
 };
 
diff --git a/src/libmbim-glib/test/test-uuid.c b/src/libmbim-glib/test/test-uuid.c
index 2e5717e..8cf9781 100644
--- a/src/libmbim-glib/test/test-uuid.c
+++ b/src/libmbim-glib/test/test-uuid.c
@@ -102,7 +102,7 @@ static void
 test_uuid_basic_connect_extensions (void)
 {
     compare_uuid_strings (MBIM_UUID_BASIC_CONNECT_EXTENSIONS,
-                          "3d01dcc5-fef5-4d05-9d3a-bef7058e9aaf");
+                          "3d01dcc5-fef5-4d05-0d3a-bef7058e9aaf");
 }
 
 /*****************************************************************************/
-- 
2.19.0.397.gdd90340f6a-goog



More information about the libmbim-devel mailing list