提交 e4b49580 编写于 作者: D David Vrabel

uwb: fix oops in debug PAL's reservation callback

Initialize pal_priv for reservations created by the debug PAL.
Signed-off-by: NDavid Vrabel <david.vrabel@csr.com>
上级 5a4e1a79
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册