Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Fix is_duplicate_packet() bug for fragmentation number setting.

parent a2d73e60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;