Skip to content

Commit 1ba806d

Browse files
author
Juha Heiskanen
committed
Wi-SUN NUD send fix
Removed Link lifetime update for RX unicast data. Change-Id: I7bfd3dd57c33603f928bb8e4260d8bb343f1a110
1 parent 31fb8cd commit 1ba806d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/6LoWPAN/ws/ws_llc_data_service.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,8 @@ static void ws_llc_mac_indication_cb(const mac_api_t *api, const mcps_data_ind_t
557557
}
558558
}
559559

560-
//Refresh Neighbor if unicast
560+
//Refresh Neighbor ETX if unicast
561561
if (ws_utt.message_type == WS_FT_DATA && data->DstAddrMode == ADDR_802_15_4_LONG) {
562-
neighbor_info.neighbor->lifetime = neighbor_info.neighbor->link_lifetime;
563562
etx_lqi_dbm_update(interface->id, data->mpduLinkQuality, data->signal_dbm, neighbor_info.neighbor->index);
564563
}
565564
if (ws_utt.message_type == WS_FT_DATA) {

0 commit comments

Comments
 (0)