Skip to content
Commit fda00eb3 authored by 倪琛's avatar 倪琛 Committed by Greg Kroah-Hartman
Browse files

asix: Add check for usbnet_get_endpoints



[ Upstream commit eaac6a2d ]

Add check for usbnet_get_endpoints() and return the error if it fails
in order to transfer the error.

Fixes: 16626b0c ("asix: Add a new driver for the AX88172A")
Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0817c1b2
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