summaryrefslogtreecommitdiff
path: root/drivers/usb/wusbcore/reservation.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-12-20 21:45:02 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-21 00:06:46 +0400
commitb4a9dfb02d932acd8a55ee96575e90f999a482de (patch)
tree7924369a5cb568dc9d36cb98edc9304f3d8a1993 /drivers/usb/wusbcore/reservation.c
parent8dd5cd5395b90070d98149d0a94e5981a74cd2ec (diff)
downloadlinux-b4a9dfb02d932acd8a55ee96575e90f999a482de.tar.xz
usb: wusbcore: add debug prints to reservation and channel change
This patch adds debug prints to the reservation and channel change sequence to help with debugging channel change problems. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/wusbcore/reservation.c')
-rw-r--r--drivers/usb/wusbcore/reservation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/wusbcore/reservation.c b/drivers/usb/wusbcore/reservation.c
index ead79f793927..d5efd0f07d2b 100644
--- a/drivers/usb/wusbcore/reservation.c
+++ b/drivers/usb/wusbcore/reservation.c
@@ -51,6 +51,7 @@ static void wusbhc_rsv_complete_cb(struct uwb_rsv *rsv)
struct uwb_mas_bm mas;
char buf[72];
+ dev_dbg(dev, "%s: state = %d\n", __func__, rsv->state);
switch (rsv->state) {
case UWB_RSV_STATE_O_ESTABLISHED:
uwb_rsv_get_usable_mas(rsv, &mas);