提交 3c6b7640 编写于 作者: J Johan Hedberg

Bluetooth: mgmt: Change ordering of cmd_status paramters

In accordance to the latest mgmt API specification the opcode comes
first and then the status.
Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
Acked-by: NMarcel Holtmann <marcel@holtmann.org>
上级 5e0452c0
...@@ -318,8 +318,8 @@ struct mgmt_ev_cmd_complete { ...@@ -318,8 +318,8 @@ struct mgmt_ev_cmd_complete {
#define MGMT_EV_CMD_STATUS 0x0002 #define MGMT_EV_CMD_STATUS 0x0002
struct mgmt_ev_cmd_status { struct mgmt_ev_cmd_status {
__u8 status;
__le16 opcode; __le16 opcode;
__u8 status;
} __packed; } __packed;
#define MGMT_EV_CONTROLLER_ERROR 0x0003 #define MGMT_EV_CONTROLLER_ERROR 0x0003
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册