Skip to content

Commit

Permalink
uwb: fix oops in debug PAL's reservation callback
Browse files Browse the repository at this point in the history
Initialize pal_priv for reservations created by the debug PAL.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
  • Loading branch information
David Vrabel committed Nov 26, 2008
1 parent 5a4e1a7 commit e4b4958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/uwb/uwb-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static int cmd_rsv_establish(struct uwb_rc *rc,
if (target == NULL)
return -ENODEV;

rsv = uwb_rsv_create(rc, uwb_dbg_rsv_cb, NULL);
rsv = uwb_rsv_create(rc, uwb_dbg_rsv_cb, rc->dbg);
if (rsv == NULL) {
uwb_dev_put(target);
return -ENOMEM;
Expand Down

0 comments on commit e4b4958

Please sign in to comment.