diff options
author | Zhu Yi <yi.zhu@intel.com> | 2005-07-13 12:22:15 -0500 |
---|---|---|
committer | James Ketrenos <jketreno@linux.intel.com> | 2005-11-07 17:50:16 -0600 |
commit | f57ce7ce9c7498fe9c4090aaf389c89f3bd70f7e (patch) | |
tree | 32abe5aa737774ee376a52cc47b31a7162a02f69 | |
parent | a2d73e60bb018da74ba508943c79c83659f3a883 (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.c | 2 |
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; |