Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3254120 authored by Sriharsha Allenki's avatar Sriharsha Allenki Committed by Gerrit - the friendly Code Review server
Browse files

usb: gadget: f_gps: Fix multiple notifications for single response



When there are multiple responses pending with
the driver, the notify count is greater than 1.
In this case host may acknowledge multiple notifications
but is still fetching only one response. This breaks
the sync between the notify count and number of
responses and results in data loss.
Fix this by notifying the host of a available response
only on the completion handler of previous
get response.

CRs-Fixed: 2098360
Change-Id: Ica48682246ecaacc4cdc1f45edf60ad954636663
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 020f3834
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment