Johannes Berg fc658d3692 wifi: cfg80211: fix off-by-one in element defrag
[ Upstream commit 43125539fc69c6aa63d34b516939431391bddeac ]

If a fragment is the last element, it's erroneously not
accepted. Fix that.

Fixes: f837a653a097 ("wifi: cfg80211: add element defragmentation helper")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230827135854.adca9fbd3317.I6b2df45eb71513f3e48efd196ae3cddec362dc1c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:56:46 +01:00
..
2023-05-31 13:06:57 +02:00
2023-10-19 23:11:05 +02:00
2023-11-02 09:36:52 +01:00
2023-03-16 17:34:40 -07:00
2023-06-24 15:41:46 -07:00
2023-09-13 09:53:12 +02:00
2023-06-28 16:43:10 -07:00
2023-06-28 16:43:10 -07:00