aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/power.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-06-25 19:20:58 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-08 16:01:05 -0400
commitfeaf03d3b42290f4c275ebf11641759bf4e1c458 (patch)
treeccf0f02134ac152db7fb246fd6187b24daabc062 /drivers/staging/vt6656/power.c
parent3adb149d2b118654305591db6a28df9e1798550f (diff)
staging: vt6656: removed TxInSleep definition
Removed an always defined macro, perhaps used to patch the driver Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 5ff15bf59c5..4d7d4e014d0 100644
--- a/drivers/staging/vt6656/power.c
+++ b/drivers/staging/vt6656/power.c
@@ -290,17 +290,11 @@ BOOL PSbSendNullPacket(void *hDeviceContext)
290 return FALSE; 290 return FALSE;
291 } 291 }
292 292
293//2007-0115-03<Add>by MikeLiu
294#ifdef TxInSleep
295 if ((pDevice->bEnablePSMode == FALSE) && 293 if ((pDevice->bEnablePSMode == FALSE) &&
296 (pDevice->fTxDataInSleep == FALSE)){ 294 (pDevice->fTxDataInSleep == FALSE)){
297 return FALSE; 295 return FALSE;
298 } 296 }
299#else 297
300 if (pDevice->bEnablePSMode == FALSE) {
301 return FALSE;
302 }
303#endif
304 memset(pMgmt->pbyPSPacketPool, 0, sizeof(STxMgmtPacket) + WLAN_NULLDATA_FR_MAXLEN); 298 memset(pMgmt->pbyPSPacketPool, 0, sizeof(STxMgmtPacket) + WLAN_NULLDATA_FR_MAXLEN);
305 pTxPacket = (PSTxMgmtPacket)pMgmt->pbyPSPacketPool; 299 pTxPacket = (PSTxMgmtPacket)pMgmt->pbyPSPacketPool;
306 pTxPacket->p80211Header = (PUWLAN_80211HDR)((PBYTE)pTxPacket + sizeof(STxMgmtPacket)); 300 pTxPacket->p80211Header = (PUWLAN_80211HDR)((PBYTE)pTxPacket + sizeof(STxMgmtPacket));