Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@ vt6655_stage-y += device_main.o \
	baseband.o \
	wctl.o \
	80211mgr.o \
	wcmd.o \
	bssdb.o \
	rxtx.o \
	dpc.o \
+0 −7
Original line number Diff line number Diff line
@@ -1092,7 +1092,6 @@ BSSvSecondCallBack(
			if ((pMgmt->sNodeDBTable[0].uInActiveCount >= (LOST_BEACON_COUNT/2)) &&
			    (pDevice->byBBVGACurrent != pDevice->abyBBVGA[0])) {
				pDevice->byBBVGANew = pDevice->abyBBVGA[0];
				bScheduleCommand((void *)pDevice, WLAN_CMD_CHANGE_BBSENSITIVITY, NULL);
			}

			if (pMgmt->sNodeDBTable[0].uInActiveCount >= LOST_BEACON_COUNT) {
@@ -1151,8 +1150,6 @@ BSSvSecondCallBack(
				pr_debug("Roaming ...\n");
				BSSvClearBSSList((void *)pDevice, pDevice->bLinkPass);
				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;
			}
		}
@@ -1166,8 +1163,6 @@ BSSvSecondCallBack(
			} else {
				pr_info("Adhoc re-scanning ...\n");
				pMgmt->eScanType = WMAC_SCAN_ACTIVE;
				bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, NULL);
				bScheduleCommand((void *)pDevice, WLAN_CMD_SSID, NULL);
				pDevice->uAutoReConnectTime = 0;
			}
		}
@@ -1430,8 +1425,6 @@ void s_vCheckSensitivity(
				}
				if (pDevice->byBBVGANew != pDevice->byBBVGACurrent) {
					pDevice->uBBVGADiffCount++;
					if (pDevice->uBBVGADiffCount >= BB_VGA_CHANGE_THRESHOLD)
						bScheduleCommand((void *)pDevice, WLAN_CMD_CHANGE_BBSENSITIVITY, NULL);
				} else {
					pDevice->uBBVGADiffCount = 0;
				}

drivers/staging/vt6655/wcmd.c

deleted100644 → 0
+0 −958

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −32
Original line number Diff line number Diff line
@@ -88,36 +88,4 @@ typedef enum tagCMD_STATE {
	WLAN_CMD_IDLE
} 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__