diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-18 23:58:27 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-20 19:01:27 +0100 |
commit | 9bd5afa0146285e596f0c1172a6a4920a1c8597a (patch) | |
tree | 0e554cd76b7bb0100c0f1bb400a957d73ef0bd4f /src/common | |
parent | 8d8ff80890ef6538b0340311b1bb3fc58e9c7e8d (diff) |
misc: Include pcu_if.h for pcu_tx_pag_req in rsl.c and make it const
The rsl.c code was calling the paging request with a const pointer,
change the signature to make the code const.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/pcu_sock.c | 2 | ||||
-rw-r--r-- | src/common/rsl.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index da5a95ec..55015486 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -389,7 +389,7 @@ int pcu_tx_time_ind(uint32_t fn) return pcu_sock_send(&bts_gsmnet, msg); } -int pcu_tx_pag_req(uint8_t *identity_lv, uint8_t chan_needed) +int pcu_tx_pag_req(const uint8_t *identity_lv, uint8_t chan_needed) { struct pcu_sock_state *state = bts_gsmnet.pcu_state; struct msgb *msg; diff --git a/src/common/rsl.c b/src/common/rsl.c index 7c17b63d..d53e07b9 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -42,6 +42,7 @@ #include <osmo-bts/signal.h> #include <osmo-bts/bts_model.h> #include <osmo-bts/measurement.h> +#include <osmo-bts/pcu_if.h> //#define FAKE_CIPH_MODE_COMPL |