Commit e215868d authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

netif: fix wr_endpoint_device vs wrc_endpoint_dev mismatch

parent d47f8be2
......@@ -22,7 +22,7 @@
static int netif_n_count = 0;
static struct wrc_netif_device netif_devs[WRC_NETIF_MAX_DEVICES];
struct wrc_endpoint_dev* netif_get_default_endpoint(void)
struct wr_endpoint_device* netif_get_default_endpoint(void)
if( netif_n_count == 0 )
return NULL;
......@@ -27,7 +27,7 @@ struct wrc_netif_device
int tx_packets;
struct wrc_endpoint_dev* netif_get_default_endpoint(void);
struct wr_endpoint_device* netif_get_default_endpoint(void);
int netif_register_device( const char *name, const char* desc, struct wr_endpoint_device* ep );
int netif_get_device_count(void);
struct wrc_netif_device* netif_get_device(int idx);
Markdown is supported
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