Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197462
b: refs/heads/master
c: f4a68b9
h: refs/heads/master
v: v3
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed May 18, 2010
1 parent c3ea73e commit fe3e870
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 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: 31c21b779181140e0b7eadadbd5e0f518e131488
refs/heads/master: f4a68b9388c7f647ba2fd43faf69cad26ca03206
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6655/mib.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ 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++;
}

Expand Down
5 changes: 1 addition & 4 deletions trunk/drivers/staging/vt6655/tether.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@
#define MIN_PACKET_LEN (MIN_DATA_LEN + ETH_HLEN)
// 60
// min total packet length (tx)
#define MAX_PACKET_LEN (ETH_DATA_LEN + ETH_HLEN)
// 1514
// max total packet length (tx)

#define MAX_LOOKAHEAD_SIZE MAX_PACKET_LEN
#define MAX_LOOKAHEAD_SIZE ETH_FRAME_LEN

#define U_MULTI_ADDR_LEN 8 // multicast address length

Expand Down

0 comments on commit fe3e870

Please sign in to comment.