aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-13 20:12:29 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-16 14:21:41 +0100
commit3e317ea4f06c84393c4630aa963b8e751c0fa201 (patch)
treea7db233b5dac96108c5c1235f48247c3c85021b8
parentb45c8a6b6cf07ddcd60d8e5b53827be4658706f2 (diff)
sysmobts: Change the order to follow the RX handling code
-rw-r--r--src/osmo-bts-sysmo/l1_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 5a3c826..6780193 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -750,8 +750,8 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1, GsmL1_PhDataInd_t *data_i
* before decryption was enabled */
if (data_ind->msgUnitParam.u8Buffer[0] == 0x01 &&
(data_ind->msgUnitParam.u8Buffer[1] & 0x01) == 0) {
- l1if_set_ciphering(fl1, lchan, 1);
lchan->ciph_state = LCHAN_CIPH_TXRX_REQ;
+ l1if_set_ciphering(fl1, lchan, 1);
}
}