diff --git a/source/6LoWPAN/ws/ws_ie_lib.c b/source/6LoWPAN/ws/ws_ie_lib.c index 0a7c39e5045..96c6e9b899f 100644 --- a/source/6LoWPAN/ws/ws_ie_lib.c +++ b/source/6LoWPAN/ws/ws_ie_lib.c @@ -171,7 +171,7 @@ uint8_t *ws_wp_nested_hopping_schedule_write(uint8_t *ptr,struct ws_hopping_sche switch (hopping_schedule->channel_function) { case 0: //Fixed channel inline - ptr = common_write_16_bit(hopping_schedule->fixed_channel, ptr); + ptr = common_write_16_bit_inverse(hopping_schedule->fixed_channel, ptr); break; case 1: case 2: