Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205574
b: refs/heads/master
c: c92069f
h: refs/heads/master
v: v3
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent c721701 commit 415ba22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 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: 3a4d1b9096cce99f3dd8870cc87980dcabf6787e
refs/heads/master: c92069f3d74c9b62dcffb359a4ae00388290d338
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6655/mib.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ void STAvUpdateRDStatCounter (PSStatCounter pStatistic,
if (WLAN_GET_FC_MOREFRAG(pHeader->wFrameCtl))
pStatistic->dwRsrRxFragment++;

if (cbFrameLength < MIN_PACKET_LEN + 4) {
if (cbFrameLength < ETH_ZLEN + 4) {
pStatistic->dwRsrRunt++;
}
else if (cbFrameLength == MIN_PACKET_LEN + 4) {
else if (cbFrameLength == ETH_ZLEN + 4) {
pStatistic->dwRsrRxFrmLen64++;
}
else if ((65 <= cbFrameLength) && (cbFrameLength <= 127)) {
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/staging/vt6655/tether.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
#define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1)
// Ethernet address string length

#define MIN_DATA_LEN 46 // min data length

#define MIN_PACKET_LEN (MIN_DATA_LEN + ETH_HLEN)
// 60
// min total packet length (tx)

#define MAX_LOOKAHEAD_SIZE ETH_FRAME_LEN

#define U_MULTI_ADDR_LEN 8 // multicast address length
Expand Down

0 comments on commit 415ba22

Please sign in to comment.