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:
parent
c209242d19
commit
1e8c6defaf
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue