diff options
| -rw-r--r-- | drivers/staging/vt6655/dpc.c | 2 | ||||
| -rw-r--r-- | drivers/staging/vt6655/tether.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/dpc.c b/drivers/staging/vt6655/dpc.c index 83040f4f6c78..6b758a8c1af3 100644 --- a/drivers/staging/vt6655/dpc.c +++ b/drivers/staging/vt6655/dpc.c | |||
| @@ -569,7 +569,7 @@ device_receive_frame ( | |||
| 569 | // RX OK | 569 | // RX OK |
| 570 | // | 570 | // |
| 571 | //remove the CRC length | 571 | //remove the CRC length |
| 572 | FrameSize -= U_CRC_LEN; | 572 | FrameSize -= ETH_FCS_LEN; |
| 573 | 573 | ||
| 574 | if (( !(*pbyRsr & (RSR_ADDRBROAD | RSR_ADDRMULTI))) && // unicast address | 574 | if (( !(*pbyRsr & (RSR_ADDRBROAD | RSR_ADDRMULTI))) && // unicast address |
| 575 | (IS_FRAGMENT_PKT((skb->data+4))) | 575 | (IS_FRAGMENT_PKT((skb->data+4))) |
diff --git a/drivers/staging/vt6655/tether.h b/drivers/staging/vt6655/tether.h index 4f2af359c063..bc82a6b425e9 100644 --- a/drivers/staging/vt6655/tether.h +++ b/drivers/staging/vt6655/tether.h | |||
| @@ -36,7 +36,6 @@ | |||
| 36 | // | 36 | // |
| 37 | // constants | 37 | // constants |
| 38 | // | 38 | // |
| 39 | #define U_CRC_LEN 4 // | ||
| 40 | #define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1) | 39 | #define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1) |
| 41 | // Ethernet address string length | 40 | // Ethernet address string length |
| 42 | 41 | ||
