mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-31 11:01:19 +00:00
There is no point in invoking SPS receive handler if there has been no data transferred while CS was asserted, as would be the case when the AP generates the wake up pulse. Also, make sure that the flag indicating that data was seen is cleared when the interface is reinitialized, as TPM reset could come during an SPS transaction. BRANCH=cr50 BUG=b:68012381 TEST=verified that the AP firmware test passes Change-Id: I82d63d257b67a715d6dbc540c2d7480e5ff718ff Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/754503 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Mary Ruthven <mruthven@chromium.org> Reviewed-by: Andrey Pronin <apronin@chromium.org>