From a54092ec06b356909e6f2ace89b370b804031af6 Mon Sep 17 00:00:00 2001 From: Ollrogge Date: Sat, 30 Jul 2022 16:56:23 +0200 Subject: [PATCH] sc_gnrc_netif: Add missing configuration for nwkkey --- sys/shell/commands/sc_gnrc_netif.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/shell/commands/sc_gnrc_netif.c b/sys/shell/commands/sc_gnrc_netif.c index 4b0dabdd6a24..1ed652a6849d 100644 --- a/sys/shell/commands/sc_gnrc_netif.c +++ b/sys/shell/commands/sc_gnrc_netif.c @@ -1515,6 +1515,9 @@ static int _netif_set(char *cmd_name, netif_t *iface, char *key, char *value) else if (strcmp("nwksenckey", key) == 0) { return _netif_set_lw_key(iface, NETOPT_LORAWAN_NWKSENCKEY, value); } + else if (strcmp("nwkkey", key) == 0) { + return _netif_set_lw_key(iface, NETOPT_LORAWAN_NWKKEY, value); + } #else else if (strcmp("appeui", key) == 0) { return _netif_set_lw_key(iface, NETOPT_LORAWAN_APPEUI, value);