projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ce6284
)
Bluetooth: Use variable name instead of type in sizeof()
author
Szymon Janc
<szymon.janc@tieto.com>
Tue, 1 Mar 2011 15:55:33 +0000
(16:55 +0100)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Wed, 2 Mar 2011 01:19:10 +0000
(22:19 -0300)
As written in the CodingStyle doc.
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index 6dd015277f0d334b57a9dbf533e2caa6e4e1af0c..f69dbcb8a707dc0f97b97e8a02d60aa5fd5d6fc2 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-1035,7
+1035,7
@@
static int pin_code_neg_reply(struct sock *sk, u16 index, unsigned char *data,
goto failed;
}
- err = hci_send_cmd(hdev, HCI_OP_PIN_CODE_NEG_REPLY, sizeof(
bdaddr_t
),
+ err = hci_send_cmd(hdev, HCI_OP_PIN_CODE_NEG_REPLY, sizeof(
cp->bdaddr
),
&cp->bdaddr);
if (err < 0)
mgmt_pending_remove(cmd);