1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/gnrc/lorawan: remove handling of deprecated tx port

This commit is contained in:
Alexandre Abadie 2023-05-19 16:06:53 +02:00
parent 2327d74d24
commit cfb5000d5c
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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);