Parent: 98078c12e677bd992cae5c41e239adbdf3a3a315
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-02-09 14:27:53
Tree: 1d9b5d3be5850294763b6a515527f2da9607a603
shared/hfp: Fix calling io read function directly can_read_data function should by called only from IO read callback. can_read_data feeds ringbuffer but don't call process_input() if there is pending result. So it is enought to just call process_input cause any pending data are already present in ring_buffer. This fix blocking read in unit/test-hfp exposed by previous patch.
Diffstat
| M | src/shared/hfp.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)