We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f85aa commit 5094614Copy full SHA for 5094614
source/6LoWPAN/ws/ws_common.c
@@ -137,6 +137,11 @@ static int ws_set_domain_rf_config(protocol_interface_info_entry_t *cur)
137
138
int8_t ws_common_regulatory_domain_config(protocol_interface_info_entry_t *cur)
139
{
140
+ if (ws_get_datarate_using_operating_mode(cur->ws_info->hopping_schdule.operating_mode) == 0) {
141
+ //Unsupported operation mode
142
+ return -1;
143
+ }
144
+
145
cur->ws_info->hopping_schdule.channel_plan = 0;
146
147
if (cur->ws_info->hopping_schdule.regulatory_domain == REG_DOMAIN_KR) {
0 commit comments