Bluetooth: RFCOMM: 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>
This commit is contained in:
Bastien Nocera 2025-07-03 19:17:00 +02:00 committed by Luiz Augusto von Dentz
parent 8074811359
commit e6555fffd5
2 changed files with 3 additions and 2 deletions

View File

@ -1962,7 +1962,8 @@ static void rfcomm_accept_connection(struct rfcomm_session *s)
int err;
/* Fast check for a new connection.
* Avoids unnesesary socket allocations. */
* Avoids unnecessary socket allocations.
*/
if (list_empty(&bt_sk(sock->sk)->accept_q))
return;

View File

@ -980,7 +980,7 @@ static void rfcomm_tty_set_termios(struct tty_struct *tty,
baud = RFCOMM_RPN_BR_230400;
break;
default:
/* 9600 is standard accordinag to the RFCOMM specification */
/* 9600 is standard according to the RFCOMM specification */
baud = RFCOMM_RPN_BR_9600;
break;