]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/vt6655/dpc.c
Staging: vt6655: use ETH_FCS_LEN macro instead of custom one
[~andy/linux] / drivers / staging / vt6655 / dpc.c
index 83040f4f6c78f3dcda10f2f63243657bde3e0b7f..6b758a8c1af364f2556b848454109713bbeed578 100644 (file)
@@ -569,7 +569,7 @@ device_receive_frame (
     // RX OK
     //
     //remove the CRC length
-    FrameSize -= U_CRC_LEN;
+    FrameSize -= ETH_FCS_LEN;
 
     if (( !(*pbyRsr & (RSR_ADDRBROAD | RSR_ADDRMULTI))) && // unicast address
         (IS_FRAGMENT_PKT((skb->data+4)))