aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/tether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6656/tether.c')
-rw-r--r--drivers/staging/vt6656/tether.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/tether.c b/drivers/staging/vt6656/tether.c
index 7268735d01c..c90b469ad54 100644
--- a/drivers/staging/vt6656/tether.c
+++ b/drivers/staging/vt6656/tether.c
@@ -34,7 +34,6 @@
34 34
35#include "device.h" 35#include "device.h"
36#include "tmacro.h" 36#include "tmacro.h"
37#include "tbit.h"
38#include "tcrc.h" 37#include "tcrc.h"
39#include "tether.h" 38#include "tether.h"
40 39
@@ -74,7 +73,7 @@ BYTE ETHbyGetHashIndexByCrc32 (PBYTE pbyMultiAddr)
74 // reverse most bit to least bit 73 // reverse most bit to least bit
75 for (ii = 0; ii < (sizeof(byTmpHash) * 8); ii++) { 74 for (ii = 0; ii < (sizeof(byTmpHash) * 8); ii++) {
76 byHash <<= 1; 75 byHash <<= 1;
77 if (BITbIsBitOn(byTmpHash, 0x01)) 76 if (byTmpHash & 0x01)
78 byHash |= 1; 77 byHash |= 1;
79 byTmpHash >>= 1; 78 byTmpHash >>= 1;
80 } 79 }