]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: usb: use a linear buffer for tx/rx datapath if sg is not supported
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 12 Feb 2019 13:42:41 +0000 (14:42 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Feb 2019 18:55:54 +0000 (19:55 +0100)
commit26d13ee54650737f8c92ea2210887f4626ea744e
treeaffc2b116e9137fae1b50429d653302514b7a243
parent3c48f770d2ba05e0d4bf7f7afb187dd7878893e3
mt76: usb: use a linear buffer for tx/rx datapath if sg is not supported

Use linear fragment and not a single usb scatter-gather buffer in mt76u
{tx,rx} datapath if the usb controller has sg data length constraints

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/usb.c