From 16d0a833f86e04475769e22b4c18f1a8ca3ac4a7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 31 Oct 2009 08:06:10 +0100 Subject: [bssmap] Fix the chosen encryption in assignment complete Send the RSL value... it is the right value --- openbsc/src/bssap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/bssap.c') diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c index cd65a735b..5e03da770 100644 --- a/openbsc/src/bssap.c +++ b/openbsc/src/bssap.c @@ -668,7 +668,7 @@ struct msgb *bssmap_create_assignment_completed(struct gsm_lchan *lchan, u_int8_ /* write chosen encryption algorithm 3.2.2.44 */ data = msgb_put(msg, 2); data[0] = GSM0808_IE_CHOSEN_ENCR_ALG; - data[1] = RSL_ENC_ALG_A5(lchan->encr.alg_id); + data[1] = lchan->encr.alg_id; /* write circuit pool 3.2.2.45 */ /* write speech version chosen: 3.2.2.51 when BTS picked it */ -- cgit v1.2.3