aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2005-07-13 12:22:15 -0500
committerJames Ketrenos <jketreno@linux.intel.com>2005-11-07 17:50:16 -0600
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 8f7e9ac37f8..93ed8718fd6 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,
if (*last_frag + 1 != frag)
/* out-of-order fragment */
goto drop;
- *last_frag = frag;
} else
*last_seq = seq;
+ *last_frag = frag;
*last_time = jiffies;
return 0;