greybus: loopback: Fix calculations error for ping transfers
For the async ping transfer, statistics are counted twice, once after the after the gb_loopback_async_operation() and once in the callback. Only keep the one in the callback. Signed-off-by: NAlexandre Bailon <abailon@baylibre.com> Reported-by: NJohan Hovold <johan@hovoldconsulting.com> Reviewed-by: NJohan Hovold <johan@hovoldconsulting.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
Showing
想要评论请 注册 或 登录