aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJefferson Delfes <jefferson.delfes@openbossa.org>2012-06-11 09:18:51 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-06-12 23:19:21 -0300
commitaf7985bf85840e3dc90ba108a679db044f91f00e (patch)
tree5c28fee15c4ebe666cfefc9744c8f67a1adcc2d5 /include/net/bluetooth/mgmt.h
parentBluetooth: Fix not setting HCI_RESET flag for AMP (diff)
downloadlinux-dev-af7985bf85840e3dc90ba108a679db044f91f00e.tar.xz
linux-dev-af7985bf85840e3dc90ba108a679db044f91f00e.zip
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>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 23fd0546fccb..4348ee8bda69 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -444,7 +444,7 @@ struct mgmt_ev_auth_failed {
struct mgmt_ev_device_found {
struct mgmt_addr_info addr;
__s8 rssi;
- __u8 flags[4];
+ __le32 flags;
__le16 eir_len;
__u8 eir[0];
} __packed;