[PATCH 7/8] bluetooth: fix resume error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19.02.2018 15:48, Tanu Kaskinen wrote:
> When resuming a sink or source, pa_sink/source_process_msg() should be
> called only if resuming is successful. pa_sink/source_process_msg()
> updates thread_info.state and notifies streams about the new state, but
> if resuming fails, there's no state change.
> ---
>   src/modules/bluetooth/module-bluez4-device.c | 16 ++++------------
>   src/modules/bluetooth/module-bluez5-device.c | 24 ++++++++++--------------
>   2 files changed, 14 insertions(+), 26 deletions(-)

LGTM



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux