uwb: safely remove all reservations
authorDavid Vrabel <david.vrabel@csr.com>
Tue, 6 Jan 2009 17:55:32 +0000 (17:55 +0000)
committerDavid Vrabel <david.vrabel@csr.com>
Tue, 6 Jan 2009 17:55:32 +0000 (17:55 +0000)
commit2226b1c219a18804bc40e32a5d53c287a6c925d9
tree1456249aa02e80623e043433b6c93cf5f45fcfac
parent238c6d54830c624f34ac9cf123ac04aebfca5013
uwb: safely remove all reservations

When removing all reservations during shutdown, terminate them first and
then wait for any pending timeout work to complete.  This prevents the
timeout work from running after the reservation has been freed.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/uwb/rsv.c