aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2005-07-13 13:22:15 -0400
committerJames Ketrenos <jketreno@linux.intel.com>2005-11-07 18:50:16 -0500
commitf57ce7ce9c7498fe9c4090aaf389c89f3bd70f7e (patch)
tree32abe5aa737774ee376a52cc47b31a7162a02f69
parenta2d73e60bb018da74ba508943c79c83659f3a883 (diff)
Fix is_duplicate_packet() bug for fragmentation number setting.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
-rw-r--r--drivers/net/wireless/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 8f7e9ac37f86..93ed8718fd6b 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -7754,10 +7754,10 @@ static inline int is_duplicate_packet(struct ipw_priv *priv,
7754 if (*last_frag + 1 != frag) 7754 if (*last_frag + 1 != frag)
7755 /* out-of-order fragment */ 7755 /* out-of-order fragment */
7756 goto drop; 7756 goto drop;
7757 *last_frag = frag;
7758 } else 7757 } else
7759 *last_seq = seq; 7758 *last_seq = seq;
7760 7759
7760 *last_frag = frag;
7761 *last_time = jiffies; 7761 *last_time = jiffies;
7762 return 0; 7762 return 0;
7763 7763