summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/Makefile
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2019-02-20 17:15:19 +0100
committerFelix Fietkau <nbd@nbd.name>2019-02-26 12:25:18 +0100
commita18a494f908f88a8be95ce95399800204e338b55 (patch)
tree501faaf84e88f2df291d36f2da1ae02c7c0a47ae /drivers/net/wireless/mediatek/Makefile
parentb63aa031b00b7d9db28862d9b24b15a5d4146398 (diff)
mt76usb: use synchronous msg for mcu command responses
Use usb_bulk_msg for reading MCU command responses. This simplify code a lot. Together with 97a3005759c ("mt76usb: allow mt76u_bulk_msg be used for reads") it also fix possible problems with rx data buffers not being aligned and contained within single page. After doing page_frag_alloc(1024) consecutive page_frag_alloc(PAGE_SIZE) will alloc PAGE_SIZE buffer at PAGE_SIZE - 1024 offset. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/Makefile')
0 files changed, 0 insertions, 0 deletions