diff mbox

[1/3] abis: Send the message without enforcing to wait for a response

Message ID 1458139289-75555-1-git-send-email-holger@freyther.de
State New
Headers show

Commit Message

Holger Freyther March 16, 2016, 2:41 p.m. UTC
From: Holger Hans Peter Freyther <holger@moiji-mobile.com>

The user might issue restarts while no BTS is connected and we
should not block the abis queue because of these messages.
 openbsc/src/libbsc/abis_nm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox


diff --git a/openbsc/src/libbsc/abis_nm.c b/openbsc/src/libbsc/abis_nm.c
index c05e2f9..3afc4c4 100644
--- a/openbsc/src/libbsc/abis_nm.c
+++ b/openbsc/src/libbsc/abis_nm.c
@@ -2598,7 +2598,7 @@  int abis_nm_ipaccess_restart(struct gsm_bts_trx *trx)
 	fill_om_fom_hdr(oh, 0, NM_MT_IPACC_RESTART, NM_OC_BASEB_TRANSC,
 			trx->bts->nr, trx->nr, 0xff);
-	return abis_nm_sendmsg(trx->bts, msg);
+	return abis_nm_sendmsg_direct(trx->bts, msg);
 int abis_nm_ipaccess_set_attr(struct gsm_bts *bts, uint8_t obj_class,