Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205904
b: refs/heads/master
c: abad19d
h: refs/heads/master
v: v3
  • Loading branch information
Andres More authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent d9cbe5b commit bfbe858
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8efe1ab3a969cdaff4b9aefb9f67efda4e6e979d
refs/heads/master: abad19d07627a8b67b441452b0450e178416d2d0
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6656/dpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ RXbBulkInProcessData (
//
// RX OK
//
//remove the CRC length
FrameSize -= U_CRC_LEN;
/* remove the FCS/CRC length */
FrameSize -= ETH_FCS_LEN;

if ( !(*pbyRsr & (RSR_ADDRBROAD | RSR_ADDRMULTI)) && // unicast address
(IS_FRAGMENT_PKT((pbyFrame)))
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/staging/vt6656/rxtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3235,7 +3235,8 @@ bRelayPacketSend (
if (pDevice->wCurrentRate <= RATE_11M)
byPktType = PK_TYPE_11B;

BytesToWrite = uDataLen + U_CRC_LEN;
BytesToWrite = uDataLen + ETH_FCS_LEN;

// Convert the packet to an usb frame and copy into our buffer
// and send the irp.

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/vt6656/tether.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
//
// constants
//
#define U_CRC_LEN 4 //
#define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1)
// Ethernet address string length

Expand Down

0 comments on commit bfbe858

Please sign in to comment.