summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/bssdb.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-06-21 11:27:24 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-22 15:38:08 -0700
commit2a1a17498bcaea1580a4fa051286bc97d4c5e730 (patch)
tree8542ee2e66c10cf2bead8f7d4ba9e453bf6f866a /drivers/staging/vt6656/bssdb.c
parentae6eb75c63bcc21ffdb8c617a09d35b4a4ef11fe (diff)
downloadop-kernel-dev-2a1a17498bcaea1580a4fa051286bc97d4c5e730.zip
op-kernel-dev-2a1a17498bcaea1580a4fa051286bc97d4c5e730.tar.gz
Staging: vt6656: removed '#if 0' definitions
Removed code in .c files that was being skipped by the preprocessor Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/bssdb.c')
-rw-r--r--drivers/staging/vt6656/bssdb.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/staging/vt6656/bssdb.c b/drivers/staging/vt6656/bssdb.c
index 8d4b663..57271f1 100644
--- a/drivers/staging/vt6656/bssdb.c
+++ b/drivers/staging/vt6656/bssdb.c
@@ -716,28 +716,6 @@ BOOL BSSbUpdateToBSSList(void *hDeviceContext,
pBSSList->uIELength = WLAN_BEACON_FR_MAXLEN;
memcpy(pBSSList->abyIEs, pbyIEs, pBSSList->uIELength);
-//mike add: if the AP in this pBSSList is hidden ssid and we can find two of them,
-// you need upgrade the other related pBSSList of which ssid is obvious,
-// for these two AP is the same one!!!!
-/********judge by:BSSID is the same,but ssid is different!*****************/
-#if 0
- for (ii = 0; ii < MAX_BSS_NUM; ii++) {
- if (IS_ETH_ADDRESS_EQUAL(pMgmt->sBSSList[ii].abyBSSID, pBSSList->abyBSSID)) { //BSSID is the same!
- if (memcmp(((PWLAN_IE_SSID)pMgmt->sBSSList[ii].abySSID)->abySSID, //ssid is different??
- ((PWLAN_IE_SSID)pBSSList->abySSID)->abySSID,
- ((PWLAN_IE_SSID)pBSSList->abySSID)->len) != 0) {
- //reserve temp
- memset(abyTmpSSID,0,sizeof(abyTmpSSID));
- memcpy(abyTmpSSID,pMgmt->sBSSList[ii].abySSID,sizeof(abyTmpSSID));
- //upgrade the other one pBSSList
- memcpy(&(pMgmt->sBSSList[ii]),pBSSList,sizeof(KnownBSS));
- //recover ssid info
- memcpy(pMgmt->sBSSList[ii].abySSID,abyTmpSSID,sizeof(abyTmpSSID));
- }
- }
- }
-#endif
-
return TRUE;
}
OpenPOWER on IntegriCloud