aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2008-11-26 07:47:05 -0500
committerDavid Vrabel <david.vrabel@csr.com>2008-11-26 07:47:05 -0500
commite4b49580f70380a4216ff8220c8f48a95e21c238 (patch)
tree6ac4b7b170e179c64cfed64469ecf09e48ee903c /drivers
parent5a4e1a795d7c5b47e94067a72db09f8cfb52bcff (diff)
uwb: fix oops in debug PAL's reservation callback
Initialize pal_priv for reservations created by the debug PAL. Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/uwb/uwb-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/uwb-debug.c b/drivers/uwb/uwb-debug.c
index e02fb83469d5..ec1b7a403ff3 100644
--- a/drivers/uwb/uwb-debug.c
+++ b/drivers/uwb/uwb-debug.c
@@ -122,7 +122,7 @@ static int cmd_rsv_establish(struct uwb_rc *rc,
122 if (target == NULL) 122 if (target == NULL)
123 return -ENODEV; 123 return -ENODEV;
124 124
125 rsv = uwb_rsv_create(rc, uwb_dbg_rsv_cb, NULL); 125 rsv = uwb_rsv_create(rc, uwb_dbg_rsv_cb, rc->dbg);
126 if (rsv == NULL) { 126 if (rsv == NULL) {
127 uwb_dev_put(target); 127 uwb_dev_put(target);
128 return -ENOMEM; 128 return -ENOMEM;