Commit 8d0126b1 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6655: dead code remove wcmd.c

header will be removed later.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 185cb4e6
...@@ -9,7 +9,6 @@ vt6655_stage-y += device_main.o \ ...@@ -9,7 +9,6 @@ vt6655_stage-y += device_main.o \
baseband.o \ baseband.o \
wctl.o \ wctl.o \
80211mgr.o \ 80211mgr.o \
wcmd.o \
bssdb.o \ bssdb.o \
rxtx.o \ rxtx.o \
dpc.o \ dpc.o \
......
...@@ -1092,7 +1092,6 @@ BSSvSecondCallBack( ...@@ -1092,7 +1092,6 @@ BSSvSecondCallBack(
if ((pMgmt->sNodeDBTable[0].uInActiveCount >= (LOST_BEACON_COUNT/2)) && if ((pMgmt->sNodeDBTable[0].uInActiveCount >= (LOST_BEACON_COUNT/2)) &&
(pDevice->byBBVGACurrent != pDevice->abyBBVGA[0])) { (pDevice->byBBVGACurrent != pDevice->abyBBVGA[0])) {
pDevice->byBBVGANew = pDevice->abyBBVGA[0]; pDevice->byBBVGANew = pDevice->abyBBVGA[0];
bScheduleCommand((void *)pDevice, WLAN_CMD_CHANGE_BBSENSITIVITY, NULL);
} }
if (pMgmt->sNodeDBTable[0].uInActiveCount >= LOST_BEACON_COUNT) { if (pMgmt->sNodeDBTable[0].uInActiveCount >= LOST_BEACON_COUNT) {
...@@ -1151,8 +1150,6 @@ BSSvSecondCallBack( ...@@ -1151,8 +1150,6 @@ BSSvSecondCallBack(
pr_debug("Roaming ...\n"); pr_debug("Roaming ...\n");
BSSvClearBSSList((void *)pDevice, pDevice->bLinkPass); BSSvClearBSSList((void *)pDevice, pDevice->bLinkPass);
pMgmt->eScanType = WMAC_SCAN_ACTIVE; pMgmt->eScanType = WMAC_SCAN_ACTIVE;
bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, pMgmt->abyDesireSSID);
bScheduleCommand((void *)pDevice, WLAN_CMD_SSID, pMgmt->abyDesireSSID);
pDevice->uAutoReConnectTime = 0; pDevice->uAutoReConnectTime = 0;
} }
} }
...@@ -1166,8 +1163,6 @@ BSSvSecondCallBack( ...@@ -1166,8 +1163,6 @@ BSSvSecondCallBack(
} else { } else {
pr_info("Adhoc re-scanning ...\n"); pr_info("Adhoc re-scanning ...\n");
pMgmt->eScanType = WMAC_SCAN_ACTIVE; pMgmt->eScanType = WMAC_SCAN_ACTIVE;
bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, NULL);
bScheduleCommand((void *)pDevice, WLAN_CMD_SSID, NULL);
pDevice->uAutoReConnectTime = 0; pDevice->uAutoReConnectTime = 0;
} }
} }
...@@ -1430,8 +1425,6 @@ void s_vCheckSensitivity( ...@@ -1430,8 +1425,6 @@ void s_vCheckSensitivity(
} }
if (pDevice->byBBVGANew != pDevice->byBBVGACurrent) { if (pDevice->byBBVGANew != pDevice->byBBVGACurrent) {
pDevice->uBBVGADiffCount++; pDevice->uBBVGADiffCount++;
if (pDevice->uBBVGADiffCount >= BB_VGA_CHANGE_THRESHOLD)
bScheduleCommand((void *)pDevice, WLAN_CMD_CHANGE_BBSENSITIVITY, NULL);
} else { } else {
pDevice->uBBVGADiffCount = 0; pDevice->uBBVGADiffCount = 0;
} }
......
This diff is collapsed.
...@@ -88,36 +88,4 @@ typedef enum tagCMD_STATE { ...@@ -88,36 +88,4 @@ typedef enum tagCMD_STATE {
WLAN_CMD_IDLE WLAN_CMD_IDLE
} CMD_STATE, *PCMD_STATE; } CMD_STATE, *PCMD_STATE;
void
vResetCommandTimer(
void *hDeviceContext
);
void
vCommandTimer(
void *hDeviceContext
);
bool bClearBSSID_SCAN(
void *hDeviceContext
);
bool
bScheduleCommand(
void *hDeviceContext,
CMD_CODE eCommand,
unsigned char *pbyItem0
);
void
vCommandTimerWait(
void *hDeviceContext,
unsigned int MSecond
);
void
BSSvSecondTxData(
void *hDeviceContext
);
#endif //__WCMD_H__ #endif //__WCMD_H__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment