From: Johan Hedberg Date: Thu, 20 Mar 2014 06:18:14 +0000 (+0200) Subject: Bluetooth: Fix passkey endianess in user_confirm and notify_passkey X-Git-Tag: v3.15-rc1~113^2~18^2^2~41^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39adbffe4b16285c54016d3e64471396354ae49f;p=pandora-kernel.git Bluetooth: Fix passkey endianess in user_confirm and notify_passkey The passkey_notify and user_confirm functions in mgmt.c were expecting different endianess for the passkey, leading to a big endian bug and sparse warning in recently added SMP code. This patch converts both functions to expect host endianess and do the conversion to little endian only when assigning to the mgmt event struct. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed