summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-01-15 18:11:07 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 17:01:27 +0200
commitafc747a600ff2e3a4eef8f312fc766608a1360e2 (patch)
tree7e892a4d15ec234ffb0fdd0b4d1fb9d697a88385 /include/net/bluetooth/mgmt.h
parent7005ff1780ca7ad5ed2ec710ad35affc48362ebf (diff)
Bluetooth: Rename mgmt connected events to match user space
User space uses device_(dis)connected instead of just (dis)connected so rename the defines and functions to match this. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index be65d341788..d1d13dc0cca 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -328,9 +328,9 @@ struct mgmt_ev_new_link_key {
struct mgmt_link_key_info key;
} __packed;
-#define MGMT_EV_CONNECTED 0x000A
+#define MGMT_EV_DEVICE_CONNECTED 0x000A
-#define MGMT_EV_DISCONNECTED 0x000B
+#define MGMT_EV_DEVICE_DISCONNECTED 0x000B
#define MGMT_EV_CONNECT_FAILED 0x000C
struct mgmt_ev_connect_failed {