From e64cffa3592a3884d0124dcdb4e029b122ed0066 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser <kaspar@schleiser.de> Date: Sat, 26 Mar 2016 20:53:13 +0100 Subject: [PATCH] drivers: cc110x: compile fix --- drivers/cc110x/cc110x-netdev2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cc110x/cc110x-netdev2.c b/drivers/cc110x/cc110x-netdev2.c index 98b4f4f79b..96e3b079ae 100644 --- a/drivers/cc110x/cc110x-netdev2.c +++ b/drivers/cc110x/cc110x-netdev2.c @@ -70,7 +70,7 @@ static int _recv(netdev2_t *dev, char* buf, int len, void *info) static inline int _get_iid(netdev2_t *netdev, eui64_t *value, size_t max_len) { - cc110x_t *cc110x = &((netdev2_cc110x_t*) dev)->cc110x; + cc110x_t *cc110x = &((netdev2_cc110x_t*) netdev)->cc110x; uint8_t *eui64 = (uint8_t*) value; if (max_len < sizeof(eui64_t)) { -- GitLab