mirror of https://gerrit.osmocom.org/libosmocore
[GPRS] BSSGP: Fix formatting of BSSGP TX STATUS
This commit is contained in:
parent
02f7325b9f
commit
cfb545aebb
|
@ -101,7 +101,8 @@ int bssgp_tx_status(uint8_t cause, uint16_t *bvci, struct msgb *orig_msg)
|
||||||
struct bssgp_normal_hdr *bgph =
|
struct bssgp_normal_hdr *bgph =
|
||||||
(struct bssgp_normal_hdr *) msgb_put(msg, sizeof(*bgph));
|
(struct bssgp_normal_hdr *) msgb_put(msg, sizeof(*bgph));
|
||||||
|
|
||||||
DEBUGPC(DBSSGP, "BSSGP: TX STATUS, cause=%s\n", bssgp_cause_str(cause));
|
DEBUGP(DBSSGP, LOGL_NOTICE, "BSSGP BVCI=%u Tx STATUS, cause=%s\n",
|
||||||
|
bvci ? *bvci : 0, bssgp_cause_str(cause));
|
||||||
msgb_nsei(msg) = msgb_nsei(orig_msg);
|
msgb_nsei(msg) = msgb_nsei(orig_msg);
|
||||||
msgb_bvci(msg) = 0;
|
msgb_bvci(msg) = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue