Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9906 )

Change subject: calypso: Print warning about unsupported encryption algorithms
......................................................................

calypso: Print warning about unsupported encryption algorithms

Unfortunately current code architecture doesn't support a return path
with an error so tell the caller of L1CTL on the other side that
something's wrong.

Change-Id: Ib9b622dd5c9770c5e97fa58deee124a409544d3b
---
M src/target/firmware/calypso/dsp.c
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/target/firmware/calypso/dsp.c 
b/src/target/firmware/calypso/dsp.c
index c37ca82..235d359 100644
--- a/src/target/firmware/calypso/dsp.c
+++ b/src/target/firmware/calypso/dsp.c
@@ -568,6 +568,9 @@
 {
        dsp_api.ndb->d_a5mode = mode;

+       if (mode >= 3) /* Only A5/0, A5/1, A5/2 are supported by calypso */
+               printd("Algo A5/%u is not supported!!!\n", mode);
+
        if (!mode || !key)
                return;


--
To view, visit https://gerrit.osmocom.org/9906
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib9b622dd5c9770c5e97fa58deee124a409544d3b
Gerrit-Change-Number: 9906
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <[email protected]>

Reply via email to