[PATCH] rsl/si: Fix resetting bits in bts->si_valid

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/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Sat Feb 15 16:44:37 UTC 2014


On Sat, Feb 15, 2014 at 12:44:43AM +0100, Holger Hans Peter Freyther wrote:
> On Fri, Feb 14, 2014 at 10:28:59PM +0100, Jacob Erlbeck wrote:
> > Use  'var &= ~(1 << x)' to reset bits instead of 'var &= (1 << x)'.
> 
> oops. How did you find it? For how many different SI has rsl_rx_bcch_info
> be called? Which SI were invalid even if they should have been valid?

Ah nevermind. I didn't realize it applies to the osmo-bts. So "canceling"
a SI would cause this grave defect to occurr but from what I see we don't
do that.
> 
> 




More information about the OpenBSC mailing list