diff --git a/sysmodules/rosalina/source/menus/sysconfig.c b/sysmodules/rosalina/source/menus/sysconfig.c index 1b43e47ae..c067ecfc8 100644 --- a/sysmodules/rosalina/source/menus/sysconfig.c +++ b/sysmodules/rosalina/source/menus/sysconfig.c @@ -267,9 +267,10 @@ void SysConfigMenu_ControlWifi(void) Result resInit = acInit(); for (u32 i = 0; i < 3; i++) { - // ssid[0] = '\0' if result is an error here - ACI_LoadNetworkSetting(i); - ACI_GetNetworkWirelessEssidSecuritySsid(ssids[i]); + if (R_SUCCEEDED(ACI_LoadNetworkSetting(i))) + ACI_GetNetworkWirelessEssidSecuritySsid(ssids[i]); + else + strcpy(ssids[i], "(not configured)"); } if (R_SUCCEEDED(resInit)) acExit();