Skip to content
Commit 05e5c5fd authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Paul Gortmaker
Browse files

mt76: mt76u: rely on usb_interface instead of usb_dev



commit 80df01f4 upstream.

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>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 54d61848
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