[layer23] Fixed handling of channel 0 in certain loops
authorAndreas Eversberg <jolly@eversberg.eu>
Sun, 17 Jul 2011 07:09:32 +0000 (09:09 +0200)
committerAndreas Eversberg <jolly@eversberg.eu>
Sun, 17 Jul 2011 07:09:32 +0000 (09:09 +0200)
commite91dfa950e85d12cb35765670762906bbc6f0846
treea2aa62c39e11b555113a69953c00adb551d17d8b
parentd5c9c7362294761a7c103a4af688a6a367ac43dd
[layer23] Fixed handling of channel 0 in certain loops

The ARFC counts from 1 to 1023, and then to 0. The index of these loops
count from 1 to 1024. The index 1024 stands for ARFCN 0.

This also reverses commit eb77945e162ae1968242009372e448b7af51ea50.
src/host/layer23/include/osmocom/bb/common/sysinfo.h
src/host/layer23/src/mobile/gsm48_rr.c