[riot-notifications] [RIOT] gnrc: 6lowpan: router solicitation retransmission fixes (#3807)

Martine Lenders notifications at github.com
Wed Sep 9 23:57:52 CEST 2015


> @@ -36,7 +36,7 @@ static inline void _rtr_sol_reschedule(gnrc_ipv6_netif_t *iface, uint32_t sec_de
>  
>  static inline uint32_t _binary_exp_backoff(uint32_t base_sec, unsigned int exp)
>  {
> -    return genrand_uint32_range(0, (1 << exp) - 1) * base_sec;
> +    return genrand_uint32_range(0, (1 << exp)) * base_sec;

Also: with this change https://github.com/RIOT-OS/RIOT/pull/3807/files#diff-9b0aedc5fd4543061c862e245fe43c75R72 would need adaption too.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3807/files#r39102177
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150909/5e6dc0c0/attachment.html>


More information about the notifications mailing list