From: Andrei Emeltchenko Date: Fri, 30 Dec 2011 10:07:47 +0000 (+0200) Subject: Bluetooth: Correct packet len calculation X-Git-Tag: v3.3-rc1~82^2~13^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5993de864d96b3656e9fca38c377b130105d97a;p=pandora-kernel.git Bluetooth: Correct packet len calculation Remove unneeded skb_pull and correct packet length calculation removing magic number. Move BT_DBG after len check otherwise it could possibly access wrong memory. Signed-off-by: Andrei Emeltchenko Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed