diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-04 17:24:30 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-04 17:37:39 +0200 |
commit | eebdfb8e6f626f1f5e08353dab78cbe6d2ed1f5f (patch) | |
tree | a762d3a2be1342d707d11972f58a917c50157841 | |
parent | 2523cdbc7f03a1114e5cb8b17f6ce06f846d28ea (diff) |
sysmobts: Fix a typo that broke the ciphering with A5/0 > 0
Commit 564313066464197af58b02152c379e1c02336bcf by Daniel changed
the ciphering to go through the command queue. In this commit the
direction for the ciphering got turned around and was not spotted
by review. It worked in testing due the usage of A5/0 and in that
case the direction did not matter.
-rw-r--r-- | src/osmo-bts-sysmo/oml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c index 1a15d555..faef0258 100644 --- a/src/osmo-bts-sysmo/oml.c +++ b/src/osmo-bts-sysmo/oml.c @@ -1170,9 +1170,9 @@ int l1if_set_ciphering(struct femtol1_hdl *fl1h, return -1; if (dir_downlink) - dir = GsmL1_Dir_RxUplink; - else dir = GsmL1_Dir_TxDownlink; + else + dir = GsmL1_Dir_RxUplink; enqueue_sapi_ciphering_cmd(lchan, dir); |