Commit 35302158 authored by Reo Shiseki's avatar Reo Shiseki Committed by Johan Hedberg

Bluetooth: fix typo in struct name

Signed-off-by: default avatarReo Shiseki <reoshiseki@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent e524f252
...@@ -621,7 +621,7 @@ struct mgmt_cp_set_appearance { ...@@ -621,7 +621,7 @@ struct mgmt_cp_set_appearance {
#define MGMT_SET_APPEARANCE_SIZE 2 #define MGMT_SET_APPEARANCE_SIZE 2
#define MGMT_OP_GET_PHY_CONFIGURATION 0x0044 #define MGMT_OP_GET_PHY_CONFIGURATION 0x0044
struct mgmt_rp_get_phy_confguration { struct mgmt_rp_get_phy_configuration {
__le32 supported_phys; __le32 supported_phys;
__le32 configurable_phys; __le32 configurable_phys;
__le32 selected_phys; __le32 selected_phys;
...@@ -658,7 +658,7 @@ struct mgmt_rp_get_phy_confguration { ...@@ -658,7 +658,7 @@ struct mgmt_rp_get_phy_confguration {
MGMT_PHY_LE_CODED_RX) MGMT_PHY_LE_CODED_RX)
#define MGMT_OP_SET_PHY_CONFIGURATION 0x0045 #define MGMT_OP_SET_PHY_CONFIGURATION 0x0045
struct mgmt_cp_set_phy_confguration { struct mgmt_cp_set_phy_configuration {
__le32 selected_phys; __le32 selected_phys;
} __packed; } __packed;
#define MGMT_SET_PHY_CONFIGURATION_SIZE 4 #define MGMT_SET_PHY_CONFIGURATION_SIZE 4
......
...@@ -3387,7 +3387,7 @@ static int set_appearance(struct sock *sk, struct hci_dev *hdev, void *data, ...@@ -3387,7 +3387,7 @@ static int set_appearance(struct sock *sk, struct hci_dev *hdev, void *data,
static int get_phy_configuration(struct sock *sk, struct hci_dev *hdev, static int get_phy_configuration(struct sock *sk, struct hci_dev *hdev,
void *data, u16 len) void *data, u16 len)
{ {
struct mgmt_rp_get_phy_confguration rp; struct mgmt_rp_get_phy_configuration rp;
bt_dev_dbg(hdev, "sock %p", sk); bt_dev_dbg(hdev, "sock %p", sk);
...@@ -3451,7 +3451,7 @@ static void set_default_phy_complete(struct hci_dev *hdev, u8 status, ...@@ -3451,7 +3451,7 @@ static void set_default_phy_complete(struct hci_dev *hdev, u8 status,
static int set_phy_configuration(struct sock *sk, struct hci_dev *hdev, static int set_phy_configuration(struct sock *sk, struct hci_dev *hdev,
void *data, u16 len) void *data, u16 len)
{ {
struct mgmt_cp_set_phy_confguration *cp = data; struct mgmt_cp_set_phy_configuration *cp = data;
struct hci_cp_le_set_default_phy cp_phy; struct hci_cp_le_set_default_phy cp_phy;
struct mgmt_pending_cmd *cmd; struct mgmt_pending_cmd *cmd;
struct hci_request req; struct hci_request req;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment