提交 f57ce7ce 编写于 作者: Z Zhu Yi 提交者: James Ketrenos

Fix is_duplicate_packet() bug for fragmentation number setting.

Signed-off-by: NJames Ketrenos <jketreno@linux.intel.com>
上级 a2d73e60
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册