pcu_connected(): constify parameter

Change-Id: I6d18ec0ad2bd6f71e0187ed70b03c3a2d0447f21
This commit is contained in:
Max 2023-05-05 15:13:51 +03:00 committed by msuraev
parent ef4ce1f3f1
commit c1e2888050
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ struct pcu_sock_state {
};
/* Check if BTS has a PCU connection */
bool pcu_connected(struct gsm_network *net);
bool pcu_connected(const struct gsm_network *net);
/* PCU relevant information has changed; Inform PCU (if connected) */
void pcu_info_update(struct gsm_bts *bts);

View File

@ -59,7 +59,7 @@ static const char *sapi_string[] = {
[PCU_IF_SAPI_PCH_DT] = "PCH_DT",
};
bool pcu_connected(struct gsm_network *net)
bool pcu_connected(const struct gsm_network *net)
{
struct pcu_sock_state *state = net->pcu_state;