diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-01-15 11:11:07 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 10:01:27 -0500 |
commit | afc747a600ff2e3a4eef8f312fc766608a1360e2 (patch) | |
tree | 7e892a4d15ec234ffb0fdd0b4d1fb9d697a88385 /include/net/bluetooth/mgmt.h | |
parent | 7005ff1780ca7ad5ed2ec710ad35affc48362ebf (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index be65d3417883..d1d13dc0cca8 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -328,9 +328,9 @@ struct mgmt_ev_new_link_key { | |||
328 | struct mgmt_link_key_info key; | 328 | struct mgmt_link_key_info key; |
329 | } __packed; | 329 | } __packed; |
330 | 330 | ||
331 | #define MGMT_EV_CONNECTED 0x000A | 331 | #define MGMT_EV_DEVICE_CONNECTED 0x000A |
332 | 332 | ||
333 | #define MGMT_EV_DISCONNECTED 0x000B | 333 | #define MGMT_EV_DEVICE_DISCONNECTED 0x000B |
334 | 334 | ||
335 | #define MGMT_EV_CONNECT_FAILED 0x000C | 335 | #define MGMT_EV_CONNECT_FAILED 0x000C |
336 | struct mgmt_ev_connect_failed { | 336 | struct mgmt_ev_connect_failed { |