solos-pci: clean up pclose() function
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 29 Nov 2012 23:15:30 +0000 (23:15 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 2 Dec 2012 00:06:03 +0000 (00:06 +0000)
commit213e85d389124f49c82d52cfb4473b8bb672f7c1
tree3e433e2a17951b0ffc57a4a638ff0366ee437c07
parent5b4d72080f49498d2390563aa90f5bc31785406c
solos-pci: clean up pclose() function

 - Flush pending TX skbs from the queue rather than waiting for them all to
   complete (suggested by Krzysztof Mazur <krzysiek@podlesie.net>).
 - Clear ATM_VF_ADDR only when the PKT_PCLOSE packet has been submitted.
 - Don't clear ATM_VF_READY at all — vcc_destroy_socket() does that for us.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/atm/solos-pci.c