From: Johan Hedberg Date: Sat, 9 Mar 2013 07:53:50 +0000 (+0200) Subject: Bluetooth: Fix endianness handling of cmd_status/complete opcodes X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~116^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad82cdd196cc3e31c412a091e8dd59bef0331eaa;p=pandora-kernel.git Bluetooth: Fix endianness handling of cmd_status/complete opcodes The opcode in cmd_complete and cmd_status events is 16 bits, so we should only be comparing it after having converted it to the host endianness. There's already an opcode variable in both functions which is in host endiannes so the right fix is to just start using it instead of ev->opcode. Signed-off-by: Johan Hedberg Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed