summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hidp
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2007-10-20 14:15:39 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-22 02:59:46 -0700
commit6792b5ec8d9e723e4689fd5b16cfa52603985f43 (patch)
tree7858cf91ae5a984f303bee8ccf0cb7ec72b7b029 /net/bluetooth/hidp
parent5e23b923da03de7e41f00f5664ae22c4f7dcd2a3 (diff)
downloadlinux-stable-6792b5ec8d9e723e4689fd5b16cfa52603985f43.tar.gz
linux-stable-6792b5ec8d9e723e4689fd5b16cfa52603985f43.tar.bz2
linux-stable-6792b5ec8d9e723e4689fd5b16cfa52603985f43.zip
[Bluetooth] Fix wrong argument in debug code of HIDP
In the debug code of the hidp_queue_report function, the device variable does not exist, replace it with session->hid. Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hidp')
-rw-r--r--net/bluetooth/hidp/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c
index 66c736953cfe..4bbacddeb49d 100644
--- a/net/bluetooth/hidp/core.c
+++ b/net/bluetooth/hidp/core.c
@@ -247,7 +247,7 @@ static inline int hidp_queue_report(struct hidp_session *session, unsigned char
{
struct sk_buff *skb;
- BT_DBG("session %p hid %p data %p size %d", session, device, data, size);
+ BT_DBG("session %p hid %p data %p size %d", session, session->hid, data, size);
if (!(skb = alloc_skb(size + 1, GFP_ATOMIC))) {
BT_ERR("Can't allocate memory for new frame");