Skip to content

Commit

Permalink
sc_gnrc_netif: Add missing configuration for nwkkey
Browse files Browse the repository at this point in the history
  • Loading branch information
Ollrogge committed Jul 30, 2022
1 parent 92479e8 commit a54092e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/shell/commands/sc_gnrc_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a54092e

Please sign in to comment.