aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/phylink.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2019-06-15 16:03:32 +0200
committerKalle Valo <kvalo@codeaurora.org>2019-06-27 19:48:36 +0300
commit2a92b08b18553c101115423bd34963b1a59a45a3 (patch)
tree33b56dd4e563bae584822a2a36cd8e2e63cf9312 /include/linux/phylink.h
parentath: fix SPDX tags (diff)
downloadwireguard-linux-2a92b08b18553c101115423bd34963b1a59a45a3.tar.xz
wireguard-linux-2a92b08b18553c101115423bd34963b1a59a45a3.zip
mt76: usb: fix rx A-MSDU support
Commit f8f527b16db5 ("mt76: usb: use EP max packet aligned buffer sizes for rx") breaks A-MSDU support. When A-MSDU is enable the device can receive frames up to q->buf_size but they will be discarded in mt76u_process_rx_entry since there is no enough room for skb_shared_info. Fix the issue reallocating the skb and copying in the linear area the first 128B of the received frames and in the frag_list the remaining part Fixes: f8f527b16db5 ("mt76: usb: use EP max packet aligned buffer sizes for rx") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux/phylink.h')
0 files changed, 0 insertions, 0 deletions