uwb: reference count reservations
commitcae1c11414912bf77a62aebd65ced321f0b9da51
authorDavid Vrabel <david.vrabel@csr.com>
Mon, 27 Oct 2008 15:22:46 +0000 (27 15:22 +0000)
committerDavid Vrabel <david.vrabel@csr.com>
Tue, 28 Oct 2008 12:07:23 +0000 (28 12:07 +0000)
tree1f83b9b82aec7f86740f8b1f7f5e8be1c6cf3196
parentb09ac64b7b2d93efab3998033588f5cb0e470ccf
uwb: reference count reservations

Reference counting the struct uwb_rsv's is safer and easier to get right than
the transferring ownership of the structures from the PAL to reservation
manager.

This fixes an oops in the debug PAL after a reservation timed out.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/usb/wusbcore/reservation.c
drivers/uwb/rsv.c
drivers/uwb/uwb-debug.c
include/linux/uwb.h