Skip to content

Commit 3c1f5a0

Browse files
committed
gnrc_netif/lorawan: fix setting nkskey via NETOPT
1 parent 99b13cb commit 3c1f5a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ static int _set(gnrc_netif_t *netif, const gnrc_netapi_opt_t *opt)
559559
case NETOPT_LORAWAN_SNWKSINTKEY:
560560
case NETOPT_LORAWAN_NWKSENCKEY:
561561
assert(opt->data_len == LORAMAC_FNWKSINTKEY_LEN);
562-
_memcpy_reversed(netif->lorawan.fnwksintkey, opt->data,
562+
memcpy(netif->lorawan.fnwksintkey, opt->data,
563563
LORAMAC_FNWKSINTKEY_LEN);
564564
break;
565565
#endif

0 commit comments

Comments
 (0)