diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-12-21 21:34:50 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-01-27 10:01:47 +0100 |
commit | e20b85c7eb2e91d9db166ac8b08eec61c0164e9b (patch) | |
tree | ca0dfc9609e08f58209a7b6bb99d8a1df0967a81 /net/mac80211/scan.c | |
parent | 561aa5b4ce223064ea655da899013bec5326ec45 (diff) |
can: mcp251xfd: mcp251xfd_hw_rx_obj_to_skb(): don't copy data for RTR CAN frames in RX-path
In Classical CAN there are RTR frames. RTR frames have the RTR bit set, may
have a dlc != 0, but contain no data.
This patch changes the RX-path to no copy any data for RTR frames, so that the
data field in the CAN frame stays 0x0.
Link: https://lore.kernel.org/r/20210114153448.1506901-4-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/mac80211/scan.c')
0 files changed, 0 insertions, 0 deletions