layer23/cbch-sniff: fix: do not blindly assume presence of CBCH

We cannot blindly assume that CBCH is present on TS0/SDCCH4 before
decoding CBCH Channel Description in System Information Type 4.

Change-Id: Ie8ce572df292d0b03c0f743bcf26184619176321
This commit is contained in:
Vadim Yanitskiy 2020-10-08 03:32:01 +07:00 committed by laforge
parent b40188ce31
commit 3c39ba4b94
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ static int signal_cb(unsigned int subsys, unsigned int signal,
case S_L1CTL_FBSB_ERR:
ms = g_ms;
return l1ctl_tx_fbsb_req(ms, ms->test_arfcn,
L1CTL_FBSB_F_FB01SB, 100, 0, CCCH_MODE_COMBINED_CBCH,
L1CTL_FBSB_F_FB01SB, 100, 0, CCCH_MODE_COMBINED,
dbm2rxlev(-85));
case S_L1CTL_FBSB_RESP:
return 0;