summaryrefslogtreecommitdiff
path: root/drivers/uwb/rsv.c
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2008-11-17 15:24:14 +0000
committerDavid Vrabel <david.vrabel@csr.com>2008-11-17 15:24:14 +0000
commite17be2b2a95b43fe0d5878adf330701bb7a77115 (patch)
tree90810d325dcdbf6fb73c16a6324cefa42a3e2e16 /drivers/uwb/rsv.c
parent58be81ed301d96045bca2b85f3b838910efcfde4 (diff)
downloadlinux-3.10-e17be2b2a95b43fe0d5878adf330701bb7a77115.tar.gz
linux-3.10-e17be2b2a95b43fe0d5878adf330701bb7a77115.tar.bz2
linux-3.10-e17be2b2a95b43fe0d5878adf330701bb7a77115.zip
uwb: add pal parameter to new reservation callback
The pal parameter allows PALs to retrieve their PAL-specific data structure. Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/uwb/rsv.c')
-rw-r--r--drivers/uwb/rsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c
index 3d76efe26ac..935d5b536db 100644
--- a/drivers/uwb/rsv.c
+++ b/drivers/uwb/rsv.c
@@ -558,7 +558,7 @@ static struct uwb_rsv *uwb_rsv_new_target(struct uwb_rc *rc,
spin_lock(&rc->pal_lock);
list_for_each_entry(pal, &rc->pals, node) {
if (pal->new_rsv)
- pal->new_rsv(rsv);
+ pal->new_rsv(pal, rsv);
if (rsv->state == UWB_RSV_STATE_T_ACCEPTED)
break;
}