From a93182ff516ae6dafb695be1c57825f94fa361d8 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 26 Feb 2016 21:25:01 +0100 Subject: [PATCH] drivers: ethos: fix _recv signature --- drivers/ethos/ethos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ethos/ethos.c b/drivers/ethos/ethos.c index 0e11166732..756980f444 100644 --- a/drivers/ethos/ethos.c +++ b/drivers/ethos/ethos.c @@ -291,8 +291,9 @@ static void _get_mac_addr(netdev2_t *encdev, uint8_t* buf) memcpy(buf, dev->mac_addr, 6); } -static int _recv(netdev2_t *netdev, char* buf, int len) +static int _recv(netdev2_t *netdev, char* buf, int len, void* info) { + (void) info; ethos_t * dev = (ethos_t *) netdev; if (buf) {