summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcb4xxp/wcb4xxp.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-11-24 04:14:37 +0000
committerShaun Ruffell <sruffell@digium.com>2008-11-24 04:14:37 +0000
commit2a333b31d859bd870710eff37fa99976b27e5f58 (patch)
treef9da36d60759ecf7b47f93a1c4b04a6417630889 /drivers/dahdi/wcb4xxp/wcb4xxp.h
parenta8d39b95c288d802239af96c487655ac81a40929 (diff)
Use counter of pending HDLC frames in order to eliminate the need to send a
zero-byte frame to kick start the transmission process. Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5368 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcb4xxp/wcb4xxp.h')
-rw-r--r--drivers/dahdi/wcb4xxp/wcb4xxp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/wcb4xxp/wcb4xxp.h b/drivers/dahdi/wcb4xxp/wcb4xxp.h
index a656fed..5c930da 100644
--- a/drivers/dahdi/wcb4xxp/wcb4xxp.h
+++ b/drivers/dahdi/wcb4xxp/wcb4xxp.h
@@ -405,6 +405,7 @@ struct b4xxp_span {
/* HDLC controller fields */
struct dahdi_chan *sigchan; /* pointer to the signalling channel for this span */
int sigactive; /* nonzero means we're in the middle of sending an HDLC frame */
+ atomic_t hdlc_pending; /* hdlc_hard_xmit() increments, hdlc_tx_frame() decrements */
int frames_out;
int frames_in;