From 1e3c4d7d6d0d3047249f695ad19a084748f3f6ca Mon Sep 17 00:00:00 2001 From: brian-level <98054876+brian-level@users.noreply.github.com> Date: Fri, 13 Dec 2024 02:27:58 -0500 Subject: [PATCH] [radio] fix sub-ghz build wrt channel page index (#11033) The .cpp file uses channel page2 for subghz channels, not page1, this fixes that. --- src/core/radio/radio.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/radio/radio.hpp b/src/core/radio/radio.hpp index 5a76b0dddc4..6391710844e 100644 --- a/src/core/radio/radio.hpp +++ b/src/core/radio/radio.hpp @@ -814,7 +814,7 @@ class Radio : public InstanceLocator, private NonCopyable #endif #if OPENTHREAD_CONFIG_RADIO_915MHZ_OQPSK_SUPPORT - if (aChannelPage == kChannelPage1) + if (aChannelPage == kChannelPage2) { mask = OT_RADIO_915MHZ_OQPSK_CHANNEL_MASK; }