Skip to content

Commit d743e91

Browse files
author
Juha Heiskanen
committed
WS LLC brodacst shedule fix
Now BC shedule is storaged at all message types if it included. Now brodacast message hear can be synched to parent and parent switch works like should. Change-Id: Ice1c89908843899bb43ba9997699a20beac09fdb
1 parent 6a6fb0c commit d743e91

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/6LoWPAN/ws/ws_llc_data_service.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,11 +551,12 @@ static void ws_llc_mac_indication_cb(const mac_api_t *api, const mcps_data_ind_t
551551
if (ws_wh_ea_read(ie_ext->headerIeList, ie_ext->headerIeListLength, auth_eui64)) {
552552
ws_pae_controller_border_router_addr_write(base->interface_ptr, auth_eui64);
553553
}
554-
if (bs_ie_inline) {
555-
ws_neighbor_class_neighbor_broadcast_schedule_set(neighbor_info.ws_neighbor, &ws_bs_ie);
556-
}
557-
}
558554

555+
}
556+
//Update BS if it is part of message
557+
if (bs_ie_inline) {
558+
ws_neighbor_class_neighbor_broadcast_schedule_set(neighbor_info.ws_neighbor, &ws_bs_ie);
559+
}
559560

560561
//Update BT if it is part of message
561562
ws_bt_ie_t ws_bt;

0 commit comments

Comments
 (0)