mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
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:
parent
8074811359
commit
e6555fffd5
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user