From: David Vrabel Date: Wed, 26 Nov 2008 12:47:05 +0000 (+0000) Subject: uwb: fix oops in debug PAL's reservation callback X-Git-Tag: v2.6.29-rc1~541^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4b49580f70380a4216ff8220c8f48a95e21c238;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git uwb: fix oops in debug PAL's reservation callback Initialize pal_priv for reservations created by the debug PAL. Signed-off-by: David Vrabel --- diff --git a/drivers/uwb/uwb-debug.c b/drivers/uwb/uwb-debug.c index e02fb83..ec1b7a4 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, 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;