Skip to content

Commit b1484d8

Browse files
author
Mika Leppänen
committed
Corrected GAK generation flagging
On router configuration used wrong flagging.
1 parent db51b73 commit b1484d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/6LoWPAN/ws/ws_pae_controller.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ static int8_t ws_pae_controller_nw_key_check_and_insert(protocol_interface_info_
333333

334334
static int8_t ws_pae_controller_gak_from_gtk(uint8_t *gak, uint8_t *gtk, char *network_name)
335335
{
336-
#if defined(HAVE_PAE_SUPP) && defined(HAVE_PAE_AUTH)
336+
#if defined(HAVE_PAE_SUPP) || defined(HAVE_PAE_AUTH)
337337
uint8_t network_name_len = strlen(network_name);
338338
if (network_name_len == 0) {
339339
return -1;

0 commit comments

Comments
 (0)