diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-07-29 03:18:23 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-31 05:28:09 -0400 |
commit | d83852822cb58f0beaa2d06b7c1e9e005e0c4f94 (patch) | |
tree | b1a47dca0373551b0541258ab27e61606212c73b /net/bluetooth | |
parent | 88219a0f65ae14ba744fa424604c965b6f1c1a8d (diff) |
[BLUETOOTH] l2cap: don't mangle cmd.len
Since nobody uses it after we convert it to host-endian,
no need to do that at all. At that point l2cap is endian-clean.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 03309d29d301..c4e4ce4ebb2b 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
@@ -1754,7 +1754,6 @@ static inline void l2cap_sig_channel(struct l2cap_conn *conn, struct sk_buff *sk | |||
1754 | len -= L2CAP_CMD_HDR_SIZE; | 1754 | len -= L2CAP_CMD_HDR_SIZE; |
1755 | 1755 | ||
1756 | cmd_len = le16_to_cpu(cmd.len); | 1756 | cmd_len = le16_to_cpu(cmd.len); |
1757 | cmd.len = cmd_len; | ||
1758 | 1757 | ||
1759 | BT_DBG("code 0x%2.2x len %d id 0x%2.2x", cmd.code, cmd_len, cmd.ident); | 1758 | BT_DBG("code 0x%2.2x len %d id 0x%2.2x", cmd.code, cmd_len, cmd.ident); |
1760 | 1759 | ||