modem: fix modem_tx_chan_req(): check if SI13 was received

There was no need for this check because the channel establishment
logic was at the end of handle_si13(), so I overlooked this.

Change-Id: I829948de325461ab5d7e950493497a7537ba06ac
Fixes: 8a506dcd4e
Related: OS#5500
This commit is contained in:
Vadim Yanitskiy 2023-01-12 20:59:40 +06:00
parent c209242d19
commit 1e8c6defaf
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ static int modem_tx_chan_req(struct osmocom_ms *ms, bool single_block)
OSMO_ASSERT(rr->state == GSM48_RR_ST_IDLE);
if (!app_data.si.si1)
return -EBUSY;
if (!app_data.si.si1 || !app_data.si.si13)
return -EAGAIN;
if (!app_data.si.gprs.supported)
return -ENOTSUP;