File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
soc/silabs/silabs_siwx91x/siwg917 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ int siwx91x_get_nwp_config(sl_wifi_device_configuration_t *get_config, uint8_t w
178
178
sl_si91x_boot_configuration_t * boot_config = & default_config .boot_config ;
179
179
180
180
__ASSERT (get_config , "get_config cannot be NULL" );
181
- __ASSERT ((hidden_ssid == true || max_num_sta != 0 ) && wifi_oper_mode ! = WIFI_SOFTAP_MODE ,
182
- "hidden_ssid or max_num_sta requires SOFTAP mode" );
181
+ __ASSERT ((hidden_ssid == false && max_num_sta == 0 ) || wifi_oper_mode = = WIFI_SOFTAP_MODE ,
182
+ "hidden_ssid or max_num_sta requires SOFT AP mode" );
183
183
184
184
if (wifi_oper_mode == WIFI_SOFTAP_MODE && max_num_sta > AP_MAX_NUM_STA ) {
185
185
LOG_ERR ("Exceeded maximum supported stations (%d)" , AP_MAX_NUM_STA );
You can’t perform that action at this time.
0 commit comments