From 755113d9212b150861bc76cddb8319381b810009 Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Wed, 21 Nov 2018 14:24:41 +0100 Subject: [PATCH] pkg/softdevice: use netdev_set_notsup() --- .../src/gnrc_nordic_ble_6lowpan.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pkg/nordic_softdevice_ble/src/gnrc_nordic_ble_6lowpan.c b/pkg/nordic_softdevice_ble/src/gnrc_nordic_ble_6lowpan.c index 312a6135b4..760bbdd343 100644 --- a/pkg/nordic_softdevice_ble/src/gnrc_nordic_ble_6lowpan.c +++ b/pkg/nordic_softdevice_ble/src/gnrc_nordic_ble_6lowpan.c @@ -230,16 +230,6 @@ static int _netdev_get(netdev_t *netdev, netopt_t opt, return res; } -static int _netdev_set(netdev_t *netdev, netopt_t opt, - const void *value, size_t value_len) -{ - (void)netdev; - (void)opt; - (void)value; - (void)value_len; - return -ENOTSUP; -} - static int _netif_send(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt) { (void)netif; @@ -282,7 +272,7 @@ static const netdev_driver_t _ble_netdev_driver = { .init = _netdev_init, .isr = NULL, .get = _netdev_get, - .set = _netdev_set, + .set = netdev_set_notsup, }; static netdev_t _ble_dummy_dev = { -- GitLab