mt76usb: allocate urb and sg as linear data
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 21 Mar 2019 15:25:36 +0000 (16:25 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:03:57 +0000 (13:03 +0200)
commit85d2955ea185434f874ff9c5bcf7f4b06eb0efcd
treef6bbb5dd883846a5b2ca0daa0d20c36ad1f120dd
parent7524c63f1f5b958a205537eedb4f610499bec956
mt76usb: allocate urb and sg as linear data

Alloc sg table at the end of urb structure. This will increase
cache usage.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/usb.c