soc: qcom: service-notifier: Use per-indication structs for PDR
When an indication is received from a PD during PDR, the
transaction ID, and other information relevant to that
particular indication, are saved inside the QMI data
structure for that PD. As a consequence of there being
one indication structure for all indications, if
the PD sends back-to-back indications, then it is possible
for the information pertaining to the first indication to
be overwritten.
Thus, allocate an indication data structure for each indication
that arrives, to prevent the indication state from being
corrupted because of the reception of another indication from
the same PD.
Change-Id: I68830773a186123c7d840056931176892e458f04
Signed-off-by:
Isaac J. Manjarres <isaacm@codeaurora.org>
Loading
Please register or sign in to comment