wrong decoding of bit vectors
Harald Welte
laforge at gnumonks.org
Thu Oct 21 10:05:38 CEST 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