Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/11979


Change subject: bsc: ts_for_each_lchan: Improve documentation
......................................................................

bsc: ts_for_each_lchan: Improve documentation

Change-Id: Id7c050087c14aae3f01c6d41d21cf861ff53621c
---
M include/osmocom/bsc/gsm_data.h
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/79/11979/1

diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 4a8b7be..2f60e4d 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -467,13 +467,15 @@
             && lchan->nr < pchan_subslots(as_pchan); \
             lchan++)

-/* usage:
+/* Iterate lchans that have an FSM allocated based on current PCHAN
+ * mode set in \ref ts.
+ * usage:
  * struct gsm_lchan *lchan;
  * struct gsm_bts_trx_ts *ts = get_some_timeslot();
  * ts_for_each_lchan(lchan, ts) {
  *     LOGPLCHAN(DMAIN, LOGL_DEBUG, "hello world\n");
  * }
- * Iterate only those lchans that have an FSM allocated. */
+ */
 #define ts_for_each_lchan(lchan, ts) ts_as_pchan_for_each_lchan(lchan, ts, 
(ts)->pchan_is)

 enum lchan_activate_mode {

--
To view, visit https://gerrit.osmocom.org/11979
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id7c050087c14aae3f01c6d41d21cf861ff53621c
Gerrit-Change-Number: 11979
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <[email protected]>

Reply via email to