mirror of https://github.com/PentHertz/srsLTE.git
only write MIB to PCAP if cell search was successful
This commit is contained in:
parent
7ad2b217df
commit
99a6d49e78
|
@ -391,7 +391,9 @@ void sync::run_thread()
|
|||
* The function search_p.run() will not return until the search finishes
|
||||
*/
|
||||
cell_search_ret = search_p.run(&cell, mib);
|
||||
if (cell_search_ret == search::CELL_FOUND) {
|
||||
stack->bch_decoded_ok(mib.data(), mib.size() / 8);
|
||||
}
|
||||
phy_state.state_exit();
|
||||
break;
|
||||
case sync_state::SFN_SYNC:
|
||||
|
|
Loading…
Reference in New Issue