Bluetooth: fix typo in struct name
authorReo Shiseki <reoshiseki@gmail.com>
Thu, 19 Nov 2020 07:37:11 +0000 (16:37 +0900)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Dec 2020 14:51:22 +0000 (16:51 +0200)
Signed-off-by: Reo Shiseki <reoshiseki@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c

index 6b55155e05e9779100a49ea48973132506ac9e34..d8367850e8cd5fdb192ab5c8bcf24a866104df47 100644 (file)
@@ -621,7 +621,7 @@ struct mgmt_cp_set_appearance {
 #define MGMT_SET_APPEARANCE_SIZE       2
 
 #define MGMT_OP_GET_PHY_CONFIGURATION  0x0044
-struct mgmt_rp_get_phy_confguration {
+struct mgmt_rp_get_phy_configuration {
        __le32  supported_phys;
        __le32  configurable_phys;
        __le32  selected_phys;
@@ -658,7 +658,7 @@ struct mgmt_rp_get_phy_confguration {
                             MGMT_PHY_LE_CODED_RX)
 
 #define MGMT_OP_SET_PHY_CONFIGURATION  0x0045
-struct mgmt_cp_set_phy_confguration {
+struct mgmt_cp_set_phy_configuration {
        __le32  selected_phys;
 } __packed;
 #define MGMT_SET_PHY_CONFIGURATION_SIZE        4
index 12d7b368b428e84a4a3866e40182db7c006732a7..3dfed4efa078b615d1f55dcfbb020c66fc76f01b 100644 (file)
@@ -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,
                                 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);
 
@@ -3451,7 +3451,7 @@ unlock:
 static int set_phy_configuration(struct sock *sk, struct hci_dev *hdev,
                                 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 mgmt_pending_cmd *cmd;
        struct hci_request req;