Skip to content

Commit a1d172e

Browse files
author
Juha Heiskanen
committed
Limit Pan config sol timeout after 5 solication.
Change-Id: I445b3142acc9e3159d5e457e0cfff9ebc8a7895e
1 parent 9d7414b commit a1d172e

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
@@ -2662,7 +2662,7 @@ void ws_bootstrap_trickle_timer(protocol_interface_info_entry_t *cur, uint16_t t
26622662
if (cur->ws_info->trickle_pcs_running &&
26632663
trickle_timer(&cur->ws_info->trickle_pan_config_solicit, &cur->ws_info->trickle_params_pan_discovery, ticks)) {
26642664
// send PAN Configuration solicit
2665-
if (cur->ws_info->pas_requests > PCS_MAX) {
2665+
if (cur->ws_info->pas_requests >= PCS_MAX) {
26662666
// if MAX PCS sent restart discovery
26672667

26682668
// Remove network keys from MAC

0 commit comments

Comments
 (0)