Bluetooth: Fix flags of mgmt_device_found event
authorJefferson Delfes <jefferson.delfes@openbossa.org>
Mon, 11 Jun 2012 13:18:51 +0000 (09:18 -0400)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 13 Jun 2012 02:19:21 +0000 (23:19 -0300)
commitaf7985bf85840e3dc90ba108a679db044f91f00e
tree5c28fee15c4ebe666cfefc9744c8f67a1adcc2d5
parent11778716ededa873f24eebaae011e52f3d27dfca
Bluetooth: Fix flags of mgmt_device_found event

Change flags field to matches userspace structure.
This field needs to be converted to little endian before forward it.

Signed-off-by: Jefferson Delfes <jefferson.delfes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c