fix scanning of E-GSM-900

Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
Steve Markgraf 2012-10-09 21:14:51 +02:00
parent 912f946144
commit ed733cc952
2 changed files with 4 additions and 4 deletions

View file

@ -95,7 +95,7 @@ double arfcn_to_freq(int n, int *bi) {
}
if((1 <= n) && (n <= 124)) {
if(bi)
if(bi && (*bi != GSM_E_900))
*bi = GSM_900;
return 890.0e6 + 0.2e6 * n + 45.0e6;
}