Author: cgutman
Date: Fri Jan 13 09:43:16 2012
New Revision: 54931
URL:
http://svn.reactos.org/svn/reactos?rev=54931&view=rev
Log:
[WLANCONF]
- Don't manually refresh IP information when connecting to a network
Modified:
branches/wlan-bringup/base/applications/network/wlanconf/wlanconf.c
Modified: branches/wlan-bringup/base/applications/network/wlanconf/wlanconf.c
URL:
http://svn.reactos.org/svn/reactos/branches/wlan-bringup/base/applications/…
==============================================================================
--- branches/wlan-bringup/base/applications/network/wlanconf/wlanconf.c [iso-8859-1]
(original)
+++ branches/wlan-bringup/base/applications/network/wlanconf/wlanconf.c [iso-8859-1] Fri
Jan 13 09:43:16 2012
@@ -563,7 +563,7 @@
}
BOOL
-WlanConnect(HANDLE hAdapter, PIP_ADAPTER_INDEX_MAP IpInfo)
+WlanConnect(HANDLE hAdapter)
{
BOOL bSuccess;
DWORD dwBytesReturned, SetOidSize;
@@ -725,10 +725,6 @@
if (!bSuccess)
return FALSE;
-
- /* Update our IP address */
- IpReleaseAddress(IpInfo);
- IpRenewAddress(IpInfo);
_tprintf(_T("The operation completed successfully.\n"));
return TRUE;
@@ -943,7 +939,7 @@
}
else if (bConnect)
{
- if (!WlanConnect(hAdapter, &IpInfo))
+ if (!WlanConnect(hAdapter))
{
DoFormatMessage(GetLastError());
CloseHandle(hAdapter);