From: Johan Hedberg Date: Mon, 19 Dec 2011 12:29:06 +0000 (+0200) Subject: Bluetooth: Add missing confirm_name field to mgmt_ev_device_found X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d85bb264330a375497db9c5fd452038dba4c0ea5;p=deliverable%2Flinux.git Bluetooth: Add missing confirm_name field to mgmt_ev_device_found This patch adds a missing confirm_name field to mgmt_ev_device_found. Support for setting the correct value for this field is not implemented yet, but having it part of the struct definition ensures that user-space gets correct sized device_found events and is thereby able to do at least rudimentary parsing of them. Signed-off-by: Johan Hedberg Signed-off-by: Gustavo F. Padovan --- diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 2b1059d64541..9f7a956a2ec3 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h @@ -357,6 +357,7 @@ struct mgmt_ev_device_found { struct mgmt_addr_info addr; __u8 dev_class[3]; __s8 rssi; + __u8 confirm_name; __u8 eir[HCI_MAX_EIR_LENGTH]; } __packed;