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.
This commit is contained in:
Léo Lam 2017-02-08 00:43:38 +01:00
parent 47ccf52c5e
commit e7b6b87ffe
1 changed files with 0 additions and 1 deletions

View File

@ -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: