Skip to content
Commit 8a09b0f0 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 db9c4a1f
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