From 5268dd8843baaf51a8ce061fd5d08adc2eca8c50 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <stefan.schmidt@huawei.com>
Date: Thu, 17 Jun 2021 18:06:38 +0200
Subject: [PATCH] ot-br-posix: Switch to new default branch name main on github

The name changed on the upstream repo and we need to adapt to avoid
fetch failures.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
---
 .../recipes-connectivity/openthread/ot-br-posix_git.bb          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ohos-staging/recipes-connectivity/openthread/ot-br-posix_git.bb b/meta-ohos-staging/recipes-connectivity/openthread/ot-br-posix_git.bb
index 6d119259..16a0f921 100644
--- a/meta-ohos-staging/recipes-connectivity/openthread/ot-br-posix_git.bb
+++ b/meta-ohos-staging/recipes-connectivity/openthread/ot-br-posix_git.bb
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=87109e44b2fda96a8991f27684a7349c \
                     file://third_party/openthread/repo/LICENSE;md5=543b6fe90ec5901a683320a36390c65f \
                     "
 
-SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https \
+SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=main \
            file://0001-build-drop-Werror-to-avoid-compilation-breaks.patch \
            file://0001-web-service-ot-client-add-needed-header-for-fd_set-c.patch \
            "
-- 
GitLab