summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/rxtx.c
diff options
context:
space:
mode:
authorAndres More2010-07-12 21:28:32 +0200
committerGreg Kroah-Hartman2010-07-22 20:43:04 +0200
commitabad19d07627a8b67b441452b0450e178416d2d0 (patch)
tree69caf787b190418e64125000e34b51ebeb19518d /drivers/staging/vt6656/rxtx.c
parentstaging: vt6656: removed Calcu_LinkQual definition (diff)
downloadkernel-qcow2-linux-abad19d07627a8b67b441452b0450e178416d2d0.tar.gz
kernel-qcow2-linux-abad19d07627a8b67b441452b0450e178416d2d0.tar.xz
kernel-qcow2-linux-abad19d07627a8b67b441452b0450e178416d2d0.zip
staging: vt6656: replaced U_CRC_LEN with ETH_FCS_LEN
Removed custom macro with one from include/linux/if_ether.h. FCS is an Ethernet field that holds the CRC value. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/rxtx.c')
-rw-r--r--drivers/staging/vt6656/rxtx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 6461d55e159f..b20cdc6bf851 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -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.