wrong decoding of bit vectors

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Thu Oct 21 08:05:38 UTC 2010


On Thu, Oct 21, 2010 at 08:58:53AM +0200, Andreas.Eversberg wrote:
> >        if (bv->data[bytenum] & (1 << bitnum) == bitval)
> >                return H;
> 
> i must correct:
>         if ((bv->data[bytenum] & (1 << bitnum)) == bitval)
>                 return H;

sounds good to me. feel free to commit a fix to libosmocore.git

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the baseband-devel mailing list