Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[radio] fix connectivity issues caused by an accidental deletion in radio.c #776

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

lmnotran
Copy link
Contributor

@lmnotran lmnotran commented Jan 22, 2024

This deletion should not have happened in [sdk] update to GSDK 4.4.0 #756

It caused issues with transmitting secure packets and prevented devices from joining networks.

This PR also includes a diff that was missed in #756 and a minor script fix

This deletion caused connectivity problems, preventing networks from being formed properly.
…GET` containing no RCP targets

When running `OT_CMAKE_NINJA_TARGET="ot-cli-ftd" script/build brdXXXXy`, the build script errors with `rcp_targets` being an unbound variable.

```shell
+ rcp_targets=()
+ soc_targets=()
+ for t in '"${OT_CMAKE_NINJA_TARGET[@]}"'
+ [[ ot-cli-ftd =~ .*rcp.* ]]
+ soc_targets+=("$t")
script/build: line 282: rcp_targets[@]: unbound variable

```

This commit fixes the problem by using a default empty string when `rcp_targets` is empty.
Copy link
Contributor

@romacdon romacdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@hemanth-silabs hemanth-silabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@suveshpratapa suveshpratapa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lmnotran lmnotran requested a review from jwhui January 23, 2024 15:09
@lmnotran
Copy link
Contributor Author

@jwhui please review this when you get a chance. Thanks!

@jwhui jwhui merged commit e6651a1 into openthread:main Jan 23, 2024
6 checks passed
@lmnotran lmnotran deleted the bugfix/fix-radio-c branch January 23, 2024 18:19
@lmnotran lmnotran restored the bugfix/fix-radio-c branch February 2, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants