diff options
author | Jim Lieb <lieb@canonical.com> | 2009-08-12 21:54:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:02:08 (GMT) |
commit | 8a3d91b02830dd7c58d27e5de65222219ac2163f (patch) | |
tree | 90144dce79d0be450803761e51969e1b93ad62f4 /drivers/staging/vt6656/dpc.c | |
parent | dad72fed3692a918fb567915f110ae71fb7ffe32 (diff) | |
download | linux-fsl-qoriq-8a3d91b02830dd7c58d27e5de65222219ac2163f.tar.xz |
Staging: vt665x: remove tbit.h
Remove use of tbit macros and remove the header file.
Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/dpc.c')
-rw-r--r-- | drivers/staging/vt6656/dpc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/staging/vt6656/dpc.c b/drivers/staging/vt6656/dpc.c index 16fd33c..835c6d6 100644 --- a/drivers/staging/vt6656/dpc.c +++ b/drivers/staging/vt6656/dpc.c @@ -49,7 +49,6 @@ #include "tkip.h" #include "tcrc.h" #include "wctl.h" -#include "tbit.h" #include "hostap.h" #include "rf.h" #include "iowpa.h" @@ -568,7 +567,7 @@ RXbBulkInProcessData ( //remove the CRC length FrameSize -= U_CRC_LEN; - if ((BITbIsAllBitsOff(*pbyRsr, (RSR_ADDRBROAD | RSR_ADDRMULTI))) && // unicast address + if ( !(*pbyRsr & (RSR_ADDRBROAD | RSR_ADDRMULTI)) && // unicast address (IS_FRAGMENT_PKT((pbyFrame))) ) { // defragment @@ -663,7 +662,7 @@ RXbBulkInProcessData ( else { if (pMgmt->eCurrMode == WMAC_MODE_ESS_AP) { //In AP mode, hw only check addr1(BSSID or RA) if equal to local MAC. - if (BITbIsBitOff(*pbyRsr, RSR_BSSIDOK)) { + if ( !(*pbyRsr & RSR_BSSIDOK)) { if (bDeFragRx) { if (!device_alloc_frag_buf(pDevice, &pDevice->sRxDFCB[pDevice->uCurrentDFCBIdx])) { DBG_PRT(MSG_LEVEL_ERR,KERN_ERR "%s: can not alloc more frag bufs\n", @@ -676,7 +675,7 @@ RXbBulkInProcessData ( else { // discard DATA packet while not associate || BSSID error if ((pDevice->bLinkPass == FALSE) || - BITbIsBitOff(*pbyRsr, RSR_BSSIDOK)) { + !(*pbyRsr & RSR_BSSIDOK)) { if (bDeFragRx) { if (!device_alloc_frag_buf(pDevice, &pDevice->sRxDFCB[pDevice->uCurrentDFCBIdx])) { DBG_PRT(MSG_LEVEL_ERR,KERN_ERR "%s: can not alloc more frag bufs\n", @@ -724,7 +723,7 @@ RXbBulkInProcessData ( if (pDevice->bEnablePSMode) { if (IS_FC_MOREDATA((pbyFrame))) { - if (BITbIsBitOn(*pbyRsr, RSR_ADDROK)) { + if (*pbyRsr & RSR_ADDROK) { //PSbSendPSPOLL((PSDevice)pDevice); } } |