diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-01-16 15:38:07 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-01-23 18:23:58 +0100 |
commit | f0c5a424af1a99d7d03a72eaa1ac6f87ea7b36c1 (patch) | |
tree | 5ab2a83a217f132cd4296a598ff434eed2df4cbf /src/osmo-bts-sysmo/l1_if.c | |
parent | 76a1bf6136ce224b92c4192953d32d1efbebe9bc (diff) |
sysmobts: Send GSM requests using the l1if_gsm_req_compl method
Prepare to change the queue and callback handling. For the TX power
VTY command it is still possible that it will conflict with other
callbacks and the easiest way is to beging with sending these requests
through another method that allows us a more strict test.
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.c')
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index 7b15e72e..5489f1ea 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -241,6 +241,12 @@ int l1if_req_compl(struct femtol1_hdl *fl1h, struct msgb *msg, return 0; } +int l1if_gsm_req_compl(struct femtol1_hdl *fl1h, struct msgb *msg, + l1if_compl_cb *cb, void *data) +{ + return l1if_req_compl(fl1h, msg, 0, cb, data); +} + /* allocate a msgb containing a GsmL1_Prim_t */ struct msgb *l1p_msgb_alloc(void) { |