mt76usb: allow mt76u_bulk_msg be used for reads
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 20 Feb 2019 16:15:18 +0000 (17:15 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 26 Feb 2019 11:25:18 +0000 (12:25 +0100)
commitb63aa031b00b7d9db28862d9b24b15a5d4146398
tree77f61ed5d62cbb018f17656bb01b667f96a61a46
parent5c8b0a331212155fb2766a7f5ef627bbf62c3b98
mt76usb: allow mt76u_bulk_msg be used for reads

Extend mt76u_bulk_msg() such it can be used for synchronous bulk reads.

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