mt76: usb: introduce mt76u_fill_bulk_urb routine
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 20 Feb 2019 22:35:16 +0000 (23:35 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 26 Feb 2019 11:25:18 +0000 (12:25 +0100)
commit4de92bf10c6df694732d46be19f1d6350f7dba2e
tree72cb4992b89b9933aa4c4288a208ba53f2649a8c
parentcb1847cce03c9787e888cb545096bd53c702cf20
mt76: usb: introduce mt76u_fill_bulk_urb routine

Add mt76u_fill_bulk_urb to initialize tx/rx urbs and
remove duplicate code

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