diff options
author | 2008-11-26 12:47:05 +0000 | |
---|---|---|
committer | 2008-11-26 12:47:05 +0000 | |
commit | e4b49580f70380a4216ff8220c8f48a95e21c238 (patch) | |
tree | 6ac4b7b170e179c64cfed64469ecf09e48ee903c /drivers/uwb/uwb-debug.c | |
parent | uwb: clean up whci_wait_for() timeout error message (diff) | |
download | linux-e4b49580f70380a4216ff8220c8f48a95e21c238.tar.gz linux-e4b49580f70380a4216ff8220c8f48a95e21c238.tar.bz2 linux-e4b49580f70380a4216ff8220c8f48a95e21c238.zip |
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/uwb/uwb-debug.c')
-rw-r--r-- | drivers/uwb/uwb-debug.c | 2 |
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, 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; |