Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205907
b: refs/heads/master
c: 6d4e807
h: refs/heads/master
i:
  205905: 6eecf9f
  205903: d9cbe5b
v: v3
  • Loading branch information
Andres More authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent 6ebd184 commit 0f8660d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 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: 5e03f73fe8c01e301fdf38954297a1237be1ab26
refs/heads/master: 6d4e807c5a302f10a3b80c7382c9a2a04ed6ec3f
9 changes: 3 additions & 6 deletions trunk/drivers/staging/vt6656/mib.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,17 +363,14 @@ void STAvUpdateRDStatCounter(PSStatCounter pStatistic,
}
else if ((512 <= cbFrameLength) && (cbFrameLength <= 1023)) {
pStatistic->dwRsrRxFrmLen512_1023++;
}
else if ((1024 <= cbFrameLength) && (cbFrameLength <= MAX_PACKET_LEN + 4)) {
} else if ((1024 <= cbFrameLength) &&
(cbFrameLength <= ETH_FRAME_LEN + 4)) {
pStatistic->dwRsrRxFrmLen1024_1518++;
} else if (cbFrameLength > MAX_PACKET_LEN + 4) {
} else if (cbFrameLength > ETH_FRAME_LEN + 4) {
pStatistic->dwRsrLong++;
}

}



/*
* Description: Update Rx Statistic Counter and copy Rx buffer
*
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/staging/vt6656/tether.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,8 @@
//
#define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1)
// Ethernet address string length

#define MAX_PACKET_LEN (ETH_DATA_LEN + ETH_HLEN)
// 1514
// max total packet length (tx)

#define MAX_LOOKAHEAD_SIZE MAX_PACKET_LEN

#define U_MULTI_ADDR_LEN 8 // multicast address length


#ifdef __BIG_ENDIAN

#define TYPE_PKT_IP 0x0800 //
Expand Down

0 comments on commit 0f8660d

Please sign in to comment.