We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db51b73 commit b1484d8Copy full SHA for b1484d8
source/6LoWPAN/ws/ws_pae_controller.c
@@ -333,7 +333,7 @@ static int8_t ws_pae_controller_nw_key_check_and_insert(protocol_interface_info_
333
334
static int8_t ws_pae_controller_gak_from_gtk(uint8_t *gak, uint8_t *gtk, char *network_name)
335
{
336
-#if defined(HAVE_PAE_SUPP) && defined(HAVE_PAE_AUTH)
+#if defined(HAVE_PAE_SUPP) || defined(HAVE_PAE_AUTH)
337
uint8_t network_name_len = strlen(network_name);
338
if (network_name_len == 0) {
339
return -1;
0 commit comments