diff options
author | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2012-10-05 18:17:57 +0400 |
---|---|---|
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2012-10-05 18:17:57 +0400 |
commit | 9eb552b2399a714495cff4b7dc38c70b133342bb (patch) | |
tree | 311457f5de308e5162565d9358c3f3bf90d01369 /src/openbts_sock.cpp | |
parent | a95348c03e815290aca81ef1d01fa611766dc184 (diff) | |
parent | 499ff415a92909d125499d70ba8288bbc6ed8f60 (diff) |
Merge branch 'jolly'
Conflicts:
src/gprs_bssgp_pcu.cpp
src/gprs_rlcmac.cpp
src/gprs_rlcmac_data.cpp
src/gprs_rlcmac_sched.cpp
Diffstat (limited to 'src/openbts_sock.cpp')
-rw-r--r-- | src/openbts_sock.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openbts_sock.cpp b/src/openbts_sock.cpp index cbf7adcc..1f1e9044 100644 --- a/src/openbts_sock.cpp +++ b/src/openbts_sock.cpp @@ -35,6 +35,8 @@ extern "C" { #include <pcuif_proto.h> } +extern void *tall_pcu_ctx; + struct femtol1_hdl { struct gsm_time gsm_time; uint32_t hLayer1; /* handle to the L1 instance in the DSP */ @@ -142,7 +144,7 @@ int pcu_l1if_open() int rc; /* allocate new femtol1_handle */ - fl1h = talloc_zero(NULL, struct femtol1_hdl); + fl1h = talloc_zero(tall_pcu_ctx, struct femtol1_hdl); INIT_LLIST_HEAD(&fl1h->wlc_list); l1fh->fl1h = fl1h; |