Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d83852822cb58f0beaa2d06b7c1e9e005e0c4f94
Commit:     d83852822cb58f0beaa2d06b7c1e9e005e0c4f94
Parent:     88219a0f65ae14ba744fa424604c965b6f1c1a8d
Author:     Al Viro <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 29 00:18:23 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 02:28:09 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Marcel Holtmann <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 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 03309d2..c4e4ce4 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
                len  -= L2CAP_CMD_HDR_SIZE;
 
                cmd_len = le16_to_cpu(cmd.len);
-               cmd.len = cmd_len;
 
                BT_DBG("code 0x%2.2x len %d id 0x%2.2x", cmd.code, cmd_len, 
cmd.ident);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to