For no copy callback intent is deferred after callback is completed,
there is possible race where client can issue rx done even before
intent is added in defer list. This can result in rx done not happening
for intents, and casusing remote to go out of intents.
To handle this situation first add intent to defer list then invoke
callback.
Change-Id: I72f15a1892162a148e72cbd7fa9c51e5f8ff283c
Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com>
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>