Close existing connection and discard compressed packet in cstp_reconnect()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 12 Aug 2010 23:37:12 +0000 (00:37 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 12 Aug 2010 23:37:12 +0000 (00:37 +0100)
commit54bad6a26f30eba45e20534aa1bff06a18783ceb
tree7dcc16eb835fa9060069b7b3112a02269a74451a
parent9d2b41dc87a1a3ec36078cfb63e7771b56d5cec0
Close existing connection and discard compressed packet in cstp_reconnect()

Both callers need to do this, so move it into the function.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c