Commit 578c5048 authored by Will Drewry's avatar Will Drewry Committed by Will Drewry
Browse files

libese-teq1: fix S(RESYNC, REQUEST) retransmission

When a device is non-response, T=1 will send
resynchronization requests.  After three attempts
it should either warm reset the device or deactivate.

The error path was not checking if the triggering
transmission was a resync requests and was clobbering
the error and retransmission counters resulting in
infinite re-attempts.

Test: replace/dev/pn81a with /dev/zero and ensure that it eventually
times out and returns a hard failure.
Bug: none
Change-Id: Iac512bb37f7f04deefe91570547840a7704542d9
parent 7be2c3f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment