aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJupeng Zhong <[email protected]>2021-02-03 22:28:46 +0800
committerMarcel Holtmann <[email protected]>2021-02-03 15:47:36 +0100
commita297f565f299f63c3d44f6fd3bafe06e2accf00d (patch)
tree2bfb81d4eff7657d5dc702676966f6f6fa5356c3
parent7bd9fb058d77213130e4b3e594115c028b708e7e (diff)
Bluetooth: btusb: Fix typo and correct the log print
Change "deivice" to "device" Correct "Unsupported support hardware variant (%08x)" to "Unsupported hardware variant (%08x)" Signed-off-by: Jupeng Zhong <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
-rw-r--r--drivers/bluetooth/btusb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 5a33fb6842a2..dbd4eb444a1f 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3631,7 +3631,7 @@ static int btusb_mtk_setup_firmware(struct hci_dev *hdev, const char *fwname)
while (fw_size > 0) {
dlen = min_t(int, 250, fw_size);
- /* Tell deivice the position in sequence */
+ /* Tell device the position in sequence */
if (fw_size - dlen <= 0)
flag = 3;
else if (fw_size < fw->size - 30)
@@ -3790,7 +3790,7 @@ static int btusb_mtk_setup(struct hci_dev *hdev)
}
goto done;
default:
- bt_dev_err(hdev, "Unsupported support hardware variant (%08x)",
+ bt_dev_err(hdev, "Unsupported hardware variant (%08x)",
dev_id);
return -ENODEV;
}