Skip to content

Commit

Permalink
Fix is_duplicate_packet() bug for fragmentation number setting.
Browse files Browse the repository at this point in the history
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
  • Loading branch information
Zhu Yi authored and James Ketrenos committed Nov 7, 2005
1 parent a2d73e6 commit f57ce7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f57ce7c

Please sign in to comment.