ustream: increment receive buffer count
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
5bbedafe09
commit
8686989fff
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ static void ustream_init_buf(struct ustream_buf *buf, int len)
|
|||
|
||||
static void ustream_add_buf(struct ustream_buf_list *l, struct ustream_buf *buf)
|
||||
{
|
||||
l->buffers++;
|
||||
if (!l->tail)
|
||||
l->head = buf;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue