From 5fb1a20a3c900768a1f6762ed14dd65d4f899242 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 3 Jan 2011 18:27:53 +0000 Subject: dahdi: Save pointer to monitored channel in struct dahdi_chan. When we're in monitor mode, we can save a pointer to the channel we are monitoring directly instead of dereferencing the 'chans' array each time. Signed-off-by: Shaun Ruffell Acked-by: Kinsey Moore git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9604 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 9f74d89..6a069b5 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -517,6 +517,7 @@ struct dahdi_chan { int _confn; /*! Actual conference number */ int confmode; /*! conference mode */ int confmute; /*! conference mute mode */ + struct dahdi_chan *conf_chan; /* Incoming and outgoing conference chunk queues for communicating between DAHDI master time and -- cgit v1.2.3