From cfb5000d5c481a4f14286b54ac05863f9e067433 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 19 May 2023 16:06:53 +0200 Subject: [PATCH] sys/gnrc/lorawan: remove handling of deprecated tx port --- sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c b/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c index 4cbf3f7a66..b151c6c52c 100644 --- a/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c +++ b/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c @@ -506,10 +506,6 @@ static int _set(gnrc_netif_t *netif, const gnrc_netapi_opt_t *opt) } netif->lorawan.datarate = *((uint8_t *)opt->data); break; - case NETOPT_LORAWAN_TX_PORT: - assert(opt->data_len == sizeof(uint8_t)); - netif->lorawan.port = *((uint8_t *)opt->data); - break; case NETOPT_ACK_REQ: assert(opt->data_len == sizeof(netopt_enable_t)); netif->lorawan.ack_req = *((netopt_enable_t *)opt->data);