Skip to content
Snippets Groups Projects
Unverified Commit 0543016b authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #10995 from maribu/6lo_frag

net/sixlowpan: Fixed calculation of fragment size
parents 8eb02b6c 194d340a
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ static uint16_t _tag; ...@@ -44,7 +44,7 @@ static uint16_t _tag;
static inline uint16_t _floor8(uint16_t length) static inline uint16_t _floor8(uint16_t length)
{ {
return length & 0xf8U; return length & 0xfff8U;
} }
static inline size_t _min(size_t a, size_t b) static inline size_t _min(size_t a, size_t b)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment