at76c50x-usb: fix endpoint debug message
authorJohan Hovold <johan@kernel.org>
Tue, 10 Dec 2019 11:44:21 +0000 (12:44 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 19:06:02 +0000 (21:06 +0200)
commitaf615abd15966387393471649185d15954e9cecd
tree594f71a39f97a957f58208d688bf257ca8309e37
parent8d9627b05b2c33e4468e65739eb7caf9c3f274d8
at76c50x-usb: fix endpoint debug message

Make sure to use the current alternate setting, which may not be the
same as the first alternate setting, also when printing the number of
endpoints at probe.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/atmel/at76c50x-usb.c