aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6656/power.c')
-rw-r--r--drivers/staging/vt6656/power.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/power.c b/drivers/staging/vt6656/power.c
index bd9c55c8ef9..b3136773b5d 100644
--- a/drivers/staging/vt6656/power.c
+++ b/drivers/staging/vt6656/power.c
@@ -118,15 +118,9 @@ void PSvEnablePowerSaving(void *hDeviceContext,
pDevice->bEnablePSMode = TRUE;
- if (pDevice->eOPMode == OP_MODE_ADHOC) {
-
- /* bMgrPrepareBeaconToSend((void *) pDevice, pMgmt); */
-
- }
/* We don't send null pkt in ad hoc mode since beacon will handle this. */
- else if (pDevice->eOPMode == OP_MODE_INFRASTRUCTURE) {
+ if (pDevice->eOPMode == OP_MODE_INFRASTRUCTURE)
PSbSendNullPacket(pDevice);
- }
pDevice->bPWBitOn = TRUE;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "PS:Power Saving Mode Enable...\n");