Skip to content
Commit 80df01f4 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Felix Fietkau
Browse files

mt76: mt76u: rely on usb_interface instead of usb_dev

usb drivers are supposed to communicate using usb_interface instead
mt76x{0,2}u is now registering through usb_device. Fix it by passing
usb_intf device to mt76_alloc_device routine.

Fixes: 112f980a

 ("mt76usb: use usb_dev private data")
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Tested-By: default avatarZero_Chaos <sidhayn@gmail.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 5d1ad7d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment