Skip to content
Commit 4e7deb49 authored by Michael Hope's avatar Michael Hope Committed by Jukka Rissanen
Browse files

usb: netusb: implement the ethernet interface.



net_eth_get_hw_capabilities() calls .get_capabilities() which is part
of the ethernet API but not the net_if_api that netusb implements.
This causes a fault as .get_capabilities() was past the end of the
struct and resolved to a random address.

Also, make the API const and give it a unique name.

Signed-off-by: default avatarMichael Hope <mlhx@google.com>
parent 5a6271b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment