Felix Fietkau 9e2e0b8577 mt76: round up length on mt76_wr_copy
When beacon length is not a multiple of 4, the beacon could be sent with
the last 1-3 bytes corrupted. The skb data is guaranteed to have enough
room for reading beyond the end, because it is always followed by
skb_shared_info, so rounding up is safe.
All other callers of mt76_wr_copy have multiple-of-4 length already.

Cc: [email protected]
Signed-off-by: Felix Fietkau <[email protected]>
2019-07-01 13:18:54 +02:00
2019-04-25 12:04:34 +02:00
2015-12-13 17:54:16 +01:00
2019-07-01 13:18:54 +02:00
2019-06-25 13:21:19 +02:00
2019-05-11 15:25:58 +02:00
2016-09-04 17:33:28 +02:00
2018-10-23 09:49:40 +02:00
2019-07-01 13:18:54 +02:00
2019-01-11 15:24:32 +01:00
2016-09-04 18:06:48 +02:00
S
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
BSD-3-Clause
105 MiB
Languages
C 99.7%
Perl 0.2%
Makefile 0.1%