This error lead to situations were non-HIE-termination IE were not parsed,
which then lead to malformed frames.
HIE-TERM-IE were correctly dissected if they were the only HIEs.
However, when there was e.g. a time correction HIE first (currently the only supported HIE), it was checked in the default branch of the switch statement, if the dissecting should stop (because the end of the HIE area was reached), which is apparently wrong for the time correction HIE.
This error lead to situations were non-HIE-termination IE were not parsed, which then lead to malformed frames.
HIE-TERM-IE were correctly dissected if they were the only HIEs. However, when there was e.g. a time correction HIE first (currently the only supported HIE), it was checked in the default branch of the switch statement, if the dissecting should stop (because the end of the HIE area was reached), which is apparently wrong for the time correction HIE.
This was easily fixable by introducing the
else
.Signed-off-by: mstaflex jasper.buesch@gmail.com