[WLANCONF] backups/wlan-bringup@60693
authorCameron Gutman <aicommander@gmail.com>
Tue, 17 Jan 2012 21:03:54 +0000 (21:03 +0000)
committerCameron Gutman <aicommander@gmail.com>
Tue, 17 Jan 2012 21:03:54 +0000 (21:03 +0000)
- Fix the loop counter variable (copy-paste mistake)

svn path=/branches/wlan-bringup/; revision=54996

base/applications/network/wlanconf/wlanconf.c

index 971ec59..15e351d 100644 (file)
@@ -796,13 +796,13 @@ WlanScan(HANDLE hAdapter)
             _tprintf(_T("SSID: %s\n"), SsidBuffer);
 
             _tprintf(_T("BSSID: "));
-            for (i = 0; i < sizeof(NDIS_802_11_MAC_ADDRESS); i++)
+            for (j = 0; j < sizeof(NDIS_802_11_MAC_ADDRESS); j++)
             {
-                UINT BssidData = BssidInfo->MacAddress[i];
-                
+                UINT BssidData = BssidInfo->MacAddress[j];
+
                 _tprintf(_T("%.2x"), BssidData);
-                
-                if (i != sizeof(NDIS_802_11_MAC_ADDRESS) - 1)
+
+                if (j != sizeof(NDIS_802_11_MAC_ADDRESS) - 1)
                     _tprintf(_T(":"));
             }
             _tprintf(_T("\n"));