From e7b6b87ffe3120c7b22b865b27f626d7cc7c3e0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 8 Feb 2017 00:43:38 +0100 Subject: [PATCH] IOS: Fix Wi-Fi scanning in system menu The second output vector should not be written to for IOCTLV_NCD_READCONFIG. If it is, the system menu will never attempt to open /dev/net/wd/command and request a Wi-Fi scan. --- Source/Core/Core/IOS/Network/Net.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/Core/IOS/Network/Net.cpp b/Source/Core/Core/IOS/Network/Net.cpp index 106bef8f0e..2a56953821 100644 --- a/Source/Core/Core/IOS/Network/Net.cpp +++ b/Source/Core/Core/IOS/Network/Net.cpp @@ -356,7 +356,6 @@ IPCCommandResult NetNCDManage::IOCtlV(const IOCtlVRequest& request) INFO_LOG(IOS_NET, "NET_NCD_MANAGE: IOCTLV_NCD_READCONFIG"); config.ReadConfig(); config.WriteToMem(request.io_vectors.at(0).address); - common_vector = 1; break; case IOCTLV_NCD_WRITECONFIG: