Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: Fix typos in comments

Found by codespell.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Bastien Nocera and committed by
Luiz Augusto von Dentz
0e492dba e6555fff

+6 -6
+1 -1
net/bluetooth/hci_conn.c
··· 814 814 * 815 815 * Detects if there any BIS left connected in a BIG 816 816 * broadcaster: Remove advertising instance and terminate BIG. 817 - * broadcaster receiver: Teminate BIG sync and terminate PA sync. 817 + * broadcaster receiver: Terminate BIG sync and terminate PA sync. 818 818 */ 819 819 static void bis_cleanup(struct hci_conn *conn) 820 820 {
+2 -2
net/bluetooth/hci_event.c
··· 5717 5717 conn->state = BT_CONFIG; 5718 5718 5719 5719 /* Store current advertising instance as connection advertising instance 5720 - * when sotfware rotation is in use so it can be re-enabled when 5720 + * when software rotation is in use so it can be re-enabled when 5721 5721 * disconnected. 5722 5722 */ 5723 5723 if (!ext_adv_capable(hdev)) ··· 7075 7075 /* Entries in this table shall have their position according to the subevent 7076 7076 * opcode they handle so the use of the macros above is recommend since it does 7077 7077 * attempt to initialize at its proper index using Designated Initializers that 7078 - * way events without a callback function can be ommited. 7078 + * way events without a callback function can be omitted. 7079 7079 */ 7080 7080 static const struct hci_le_ev { 7081 7081 void (*func)(struct hci_dev *hdev, void *data, struct sk_buff *skb);
+1 -1
net/bluetooth/hci_sync.c
··· 5677 5677 } 5678 5678 5679 5679 /* Cleanup hci_conn object if it cannot be cancelled as it 5680 - * likelly means the controller and host stack are out of sync 5680 + * likely means the controller and host stack are out of sync 5681 5681 * or in case of LE it was still scanning so it can be cleanup 5682 5682 * safely. 5683 5683 */
+1 -1
net/bluetooth/lib.c
··· 54 54 * bt_to_errno() - Bluetooth error codes to standard errno 55 55 * @code: Bluetooth error code to be converted 56 56 * 57 - * This function takes a Bluetooth error code as input and convets 57 + * This function takes a Bluetooth error code as input and converts 58 58 * it to an equivalent Unix/standard errno value. 59 59 * 60 60 * Return:
+1 -1
net/bluetooth/smp.c
··· 3189 3189 /* No need to call l2cap_chan_hold() here since we already own 3190 3190 * the reference taken in smp_new_conn_cb(). This is just the 3191 3191 * first time that we tie it to a specific pointer. The code in 3192 - * l2cap_core.c ensures that there's no risk this function wont 3192 + * l2cap_core.c ensures that there's no risk this function won't 3193 3193 * get called if smp_new_conn_cb was previously called. 3194 3194 */ 3195 3195 conn->smp = chan;