mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
Bluetooth: Fix spelling mistakes
Fix some spelling mistakes in comments: udpate ==> update retreive ==> retrieve accidentially ==> accidentally correspondig ==> corresponding adddress ==> address estabilish ==> establish commplete ==> complete Unkown ==> Unknown triggerd ==> triggered transtion ==> transition Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8ab1784df6
commit
91641b79e1
6 changed files with 13 additions and 13 deletions
|
@ -40,7 +40,7 @@
|
|||
((struct smp_dev *)((struct l2cap_chan *)((hdev)->smp_data))->data)
|
||||
|
||||
/* Low-level debug macros to be used for stuff that we don't want
|
||||
* accidentially in dmesg, i.e. the values of the various crypto keys
|
||||
* accidentally in dmesg, i.e. the values of the various crypto keys
|
||||
* and the inputs & outputs of crypto functions.
|
||||
*/
|
||||
#ifdef DEBUG
|
||||
|
@ -560,7 +560,7 @@ int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16])
|
|||
return err;
|
||||
|
||||
/* This is unlikely, but we need to check that
|
||||
* we didn't accidentially generate a debug key.
|
||||
* we didn't accidentally generate a debug key.
|
||||
*/
|
||||
if (crypto_memneq(smp->local_pk, debug_pk, 64))
|
||||
break;
|
||||
|
@ -1902,7 +1902,7 @@ static u8 sc_send_public_key(struct smp_chan *smp)
|
|||
return SMP_UNSPECIFIED;
|
||||
|
||||
/* This is unlikely, but we need to check that
|
||||
* we didn't accidentially generate a debug key.
|
||||
* we didn't accidentally generate a debug key.
|
||||
*/
|
||||
if (crypto_memneq(smp->local_pk, debug_pk, 64))
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue