SMPP: Respond with BIND_TRX_RESP to BIND_TRX, not BIND_TX_RESP

This commit is contained in:
Harald Welte
2013-05-26 14:40:14 +02:00
parent 9f3835b988
commit 61e1935a5f

View File

@@ -535,7 +535,7 @@ static int smpp_handle_bind_trx(struct osmo_esme *esme, struct msgb *msg)
return rc;
}
INIT_RESP(BIND_TRANSMITTER_RESP, &bind_r, &bind);
INIT_RESP(BIND_TRANSCEIVER_RESP, &bind_r, &bind);
LOGP(DSMPP, LOGL_INFO, "[%s] Rx BIND Trx (Version %02x)\n",
bind.system_id, bind.interface_version);