Skip to content

Commit 50961c9

Browse files
author
Mika Leppänen
committed
Removed random from EAPOL PAN version increment
When GTK HASH or MAC key index is changed PAE Authenticator increments PAN version. Removed random from PAN version increment since that is not needed. The random resulted that PAN configuration was send (depending on timing) with updated GTK HASH but with old version number.
1 parent b862823 commit 50961c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1893,7 +1893,7 @@ static void ws_bootstrap_advertise_start(protocol_interface_info_entry_t *cur)
18931893

18941894
static void ws_bootstrap_pan_version_increment(protocol_interface_info_entry_t *cur)
18951895
{
1896-
cur->ws_info->pan_version_timer = randLIB_get_random_in_range(5, 15);
1896+
cur->ws_info->pan_version_timer = 1;
18971897
}
18981898

18991899
// Start network scan

0 commit comments

Comments
 (0)