[WLANCONF] Fix getting the interface GUID value 4737/head
authorStanislav Motylkov <x86corez@gmail.com>
Sat, 1 Oct 2022 11:56:01 +0000 (14:56 +0300)
committerStanislav Motylkov <x86corez@gmail.com>
Sun, 2 Oct 2022 12:36:45 +0000 (15:36 +0300)
commit311fcc612e6acbc10fed0e388468df8bddb3201a
treef23d894d6849b078397765aaf330e5262ac74ddc
parentc1c127932d9f22d0a0f348a0ce620915e4e61f93
[WLANCONF] Fix getting the interface GUID value

GetInterfaceInfo returns interface name in Windows XP and 2003
in this format: `\DEVICE\TCPIP_{GUID}`.

MSDN says that the `Name` member of the `IP_ADAPTER_INDEX_MAP`
may start with '{' character on Windows Vista and later.
https://docs.microsoft.com/en-us/windows/win32/api/ipexport/ns-ipexport-ip_adapter_index_map

Change the code to support both cases. CORE-18032
base/applications/network/wlanconf/wlanconf.c