Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205906
b: refs/heads/master
c: 5e03f73
h: refs/heads/master
v: v3
  • Loading branch information
Andres More authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent 6eecf9f commit 6ebd184
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: 020c0a9a78f8d5215f09164f7e5c5252dea098f9
refs/heads/master: 5e03f73fe8c01e301fdf38954297a1237be1ab26
5 changes: 2 additions & 3 deletions trunk/drivers/staging/vt6656/mib.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,9 @@ 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
5 changes: 0 additions & 5 deletions trunk/drivers/staging/vt6656/tether.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +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_PACKET_LEN (ETH_DATA_LEN + ETH_HLEN)
// 1514
// max total packet length (tx)
Expand Down

0 comments on commit 6ebd184

Please sign in to comment.