aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-23 15:39:31 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-23 20:00:44 +0000
commit5c0d88e69d16426d8e7af5bf4b7866aa33132064 (patch)
treefbaecee280b714d79e394e1d8b75da8a73d6a441 /include/osmo-bts
parent4fa641d7b22116c7b1af0bf80ebe6ab78a06cee9 (diff)
Make get_lchan_by_chan_nr globally available
* Remove static qualifier * Remove duplicated code - use generic function instead Change-Id: I37a312648771f58d3087471083cfcebbd97ccf1d
Diffstat (limited to 'include/osmo-bts')
-rw-r--r--include/osmo-bts/l1sap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/l1sap.h b/include/osmo-bts/l1sap.h
index dd25161d..27355747 100644
--- a/include/osmo-bts/l1sap.h
+++ b/include/osmo-bts/l1sap.h
@@ -40,6 +40,8 @@ static inline uint8_t l1sap_chan2ss(uint8_t chan_nr)
return 0;
}
+struct gsm_lchan *get_lchan_by_chan_nr(struct gsm_bts_trx *trx,
+ unsigned int chan_nr);
/* allocate a msgb containing a osmo_phsap_prim + optional l2 data */
struct msgb *l1sap_msgb_alloc(unsigned int l2_len);