diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-12-20 17:54:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 20:19:13 (GMT) |
commit | f79833a7ab44fd7ce4db47c65c929747463a452d (patch) | |
tree | 9b2902cad83cd0caf282506f0b1ed8de8f66603b /drivers/uwb/radio.c | |
parent | b4a9dfb02d932acd8a55ee96575e90f999a482de (diff) | |
download | linux-f79833a7ab44fd7ce4db47c65c929747463a452d.tar.xz |
uwb: add debug prints during channel change and beacon actions
Add debug prints during channel change and beacon actions.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb/radio.c')
-rw-r--r-- | drivers/uwb/radio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/uwb/radio.c b/drivers/uwb/radio.c index d58dfec..10adb98 100644 --- a/drivers/uwb/radio.c +++ b/drivers/uwb/radio.c @@ -62,6 +62,10 @@ static void uwb_radio_channel_changed(struct uwb_rc *rc, int channel) static int uwb_radio_change_channel(struct uwb_rc *rc, int channel) { int ret = 0; + struct device *dev = &rc->uwb_dev.dev; + + dev_dbg(dev, "%s: channel = %d, rc->beaconing = %d\n", __func__, + channel, rc->beaconing); if (channel == -1) uwb_radio_channel_changed(rc, channel); |