Commit f57ce7ce authored by Zhu Yi's avatar Zhu Yi Committed by James Ketrenos

Fix is_duplicate_packet() bug for fragmentation number setting.

Signed-off-by: default avatarJames Ketrenos <jketreno@linux.intel.com>
parent a2d73e60
...@@ -7754,10 +7754,10 @@ static inline int is_duplicate_packet(struct ipw_priv *priv, ...@@ -7754,10 +7754,10 @@ static inline int is_duplicate_packet(struct ipw_priv *priv,
if (*last_frag + 1 != frag) if (*last_frag + 1 != frag)
/* out-of-order fragment */ /* out-of-order fragment */
goto drop; goto drop;
*last_frag = frag;
} else } else
*last_seq = seq; *last_seq = seq;
*last_frag = frag;
*last_time = jiffies; *last_time = jiffies;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment