ratp: user close may happen in SYN-RECEIVED state
The reference says:

     5.2.3. SYN-RECEIVED
     ...
     Departures
       - A CLOSE request is made by the user.  Create a packet with
         FIN set.  Send it and go to the FIN-WAIT state.

Add this missing step.

Probably not a real usecase for barebox anyway as there is no user
triggered close.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 22da8b1 commit 5bde92c92b0efb675969d09386667f110f63cd6c
@Aleksander Morgado Aleksander Morgado authored on 21 Jun 2017
Sascha Hauer committed on 23 Jun 2017
Showing 2 changed files
View
lib/ratp.c
View
scripts/remote/ratp.py