|
@@ -4477,7 +4477,7 @@ int hci_req_run(struct hci_request *req, hci_req_complete_t complete)
|
|
|
|
|
|
BT_DBG("length %u", skb_queue_len(&req->cmd_q));
|
|
BT_DBG("length %u", skb_queue_len(&req->cmd_q));
|
|
|
|
|
|
- /* If an error occured during request building, remove all HCI
|
|
|
|
|
|
+ /* If an error occurred during request building, remove all HCI
|
|
* commands queued on the HCI request queue.
|
|
* commands queued on the HCI request queue.
|
|
*/
|
|
*/
|
|
if (req->err) {
|
|
if (req->err) {
|
|
@@ -4546,7 +4546,7 @@ int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen,
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
}
|
|
}
|
|
|
|
|
|
- /* Stand-alone HCI commands must be flaged as
|
|
|
|
|
|
+ /* Stand-alone HCI commands must be flagged as
|
|
* single-command requests.
|
|
* single-command requests.
|
|
*/
|
|
*/
|
|
bt_cb(skb)->req.start = true;
|
|
bt_cb(skb)->req.start = true;
|
|
@@ -4566,7 +4566,7 @@ void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen,
|
|
|
|
|
|
BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen);
|
|
BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen);
|
|
|
|
|
|
- /* If an error occured during request building, there is no point in
|
|
|
|
|
|
+ /* If an error occurred during request building, there is no point in
|
|
* queueing the HCI command. We can simply return.
|
|
* queueing the HCI command. We can simply return.
|
|
*/
|
|
*/
|
|
if (req->err)
|
|
if (req->err)
|