dahdi: Define psuedo channels as being without a span.
Therefore we can use the fact that the span pointer on the channel is NULL to identify them. Review: https://reviewboard.asterisk.org/r/905/ Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9382 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
@@ -685,7 +685,6 @@ enum {
|
||||
DAHDI_FLAGBIT_ECHOCANCEL= 4, /*!< Channel supports native echo cancellation */
|
||||
DAHDI_FLAGBIT_HDLC = 5, /*!< Perform HDLC */
|
||||
DAHDI_FLAGBIT_NETDEV = 6, /*!< Send to network */
|
||||
DAHDI_FLAGBIT_PSEUDO = 7, /*!< Pseudo channel */
|
||||
DAHDI_FLAGBIT_CLEAR = 8, /*!< Clear channel */
|
||||
DAHDI_FLAGBIT_AUDIO = 9, /*!< Audio mode channel */
|
||||
DAHDI_FLAGBIT_OPEN = 10, /*!< Channel is open */
|
||||
@@ -734,7 +733,6 @@ struct dahdi_count {
|
||||
|
||||
#define DAHDI_FLAG_HDLC DAHDI_FLAG(HDLC)
|
||||
#define DAHDI_FLAG_NETDEV DAHDI_FLAG(NETDEV)
|
||||
#define DAHDI_FLAG_PSEUDO DAHDI_FLAG(PSEUDO)
|
||||
#define DAHDI_FLAG_CLEAR DAHDI_FLAG(CLEAR)
|
||||
#define DAHDI_FLAG_AUDIO DAHDI_FLAG(AUDIO)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user