summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6655/power.c')
-rw-r--r--drivers/staging/vt6655/power.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c
index ae2ad92..2340d2f 100644
--- a/drivers/staging/vt6655/power.c
+++ b/drivers/staging/vt6655/power.c
@@ -48,19 +48,14 @@
/*--------------------- Static Definitions -------------------------*/
-
-
-
/*--------------------- Static Classes ----------------------------*/
/*--------------------- Static Variables --------------------------*/
static int msglevel = MSG_LEVEL_INFO;
/*--------------------- Static Functions --------------------------*/
-
/*--------------------- Export Variables --------------------------*/
-
/*--------------------- Export Functions --------------------------*/
/*+
@@ -73,7 +68,6 @@ static int msglevel = MSG_LEVEL_INFO;
*
-*/
-
void
PSvEnablePowerSaving(
void *hDeviceContext,
@@ -128,11 +122,6 @@ PSvEnablePowerSaving(
return;
}
-
-
-
-
-
/*+
*
* Routine Description:
@@ -169,7 +158,6 @@ PSvDisablePowerSaving(
return;
}
-
/*+
*
* Routine Description:
@@ -180,7 +168,6 @@ PSvDisablePowerSaving(
* false, if fail
-*/
-
bool
PSbConsiderPowerDown(
void *hDeviceContext,
@@ -235,8 +222,6 @@ PSbConsiderPowerDown(
return true;
}
-
-
/*+
*
* Routine Description:
@@ -247,8 +232,6 @@ PSbConsiderPowerDown(
*
-*/
-
-
void
PSvSendPSPOLL(
void *hDeviceContext
@@ -258,7 +241,6 @@ PSvSendPSPOLL(
PSMgmtObject pMgmt = pDevice->pMgmt;
PSTxMgmtPacket pTxPacket = NULL;
-
memset(pMgmt->pbyPSPacketPool, 0, sizeof(STxMgmtPacket) + WLAN_HDR_ADDR2_LEN);
pTxPacket = (PSTxMgmtPacket)pMgmt->pbyPSPacketPool;
pTxPacket->p80211Header = (PUWLAN_80211HDR)((unsigned char *)pTxPacket + sizeof(STxMgmtPacket));
@@ -283,8 +265,6 @@ PSvSendPSPOLL(
return;
}
-
-
/*+
*
* Routine Description:
@@ -304,7 +284,6 @@ PSbSendNullPacket(
PSMgmtObject pMgmt = pDevice->pMgmt;
unsigned int uIdx;
-
if (pDevice->bLinkPass == false) {
return false;
}
@@ -330,7 +309,6 @@ PSbSendNullPacket(
pTxPacket->p80211Header = (PUWLAN_80211HDR)((unsigned char *)pTxPacket + sizeof(STxMgmtPacket));
if (pDevice->bEnablePSMode) {
-
pTxPacket->p80211Header->sA3.wFrameCtl = cpu_to_le16(
(
WLAN_SET_FC_FTYPE(WLAN_TYPE_DATA) |
@@ -360,11 +338,9 @@ PSbSendNullPacket(
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send Null Packet failed !\n");
return false;
} else {
-
// DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send Null Packet success....\n");
}
-
return true;
}
@@ -383,7 +359,6 @@ PSbIsNextTBTTWakeUp(
void *hDeviceContext
)
{
-
PSDevice pDevice = (PSDevice)hDeviceContext;
PSMgmtObject pMgmt = pDevice->pMgmt;
bool bWakeUp = false;
@@ -405,4 +380,3 @@ PSbIsNextTBTTWakeUp(
return bWakeUp;
}
-