bluetooth: host: fix typo
Utilize a code spell-checking tool to scan for and correct spelling errors in all files within the subsys/bluetooth/host directory. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
parent
9b305d5d72
commit
521b9e2c04
9 changed files with 20 additions and 20 deletions
|
@ -299,7 +299,7 @@ config BT_CONN_PARAM_ANY
|
|||
Some controllers support additional connection parameter ranges
|
||||
beyond what is described in the specification. Enabling this option
|
||||
allows the application to set any value to all connection parameters.
|
||||
Tbe Host will perform no limits nor consistency checks on any of the
|
||||
The Host will perform no limits nor consistency checks on any of the
|
||||
connection parameters (conn interval min and max, latency and timeout).
|
||||
However, the Host will still use numerical comparisons between the
|
||||
min and max connection intervals in order to verify whether the
|
||||
|
@ -541,9 +541,9 @@ config BT_ID_UNPAIR_MATCHING_BONDS
|
|||
limitation" below.
|
||||
|
||||
[RL limitation]:
|
||||
The Host implementors have considered it unlikely that applications
|
||||
The Host implementers have considered it unlikely that applications
|
||||
would ever want to have multiple bonds with the same peer. The
|
||||
implementors prioritize the simplicity of the implementation over this
|
||||
implementers prioritize the simplicity of the implementation over this
|
||||
capability.
|
||||
|
||||
The Resolve List on a Controller is not able to accommodate multiple
|
||||
|
@ -911,7 +911,7 @@ config BT_DF_VS_CL_IQ_REPORT_16_BITS_IQ_SAMPLES
|
|||
Direction Finging connectionless IQ reports provide a set of IQ samples collected during
|
||||
sampling of CTE. Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits signed
|
||||
integer, see Vol 4, Part E section 7.7.65.21. This option enables a vendor specific Host
|
||||
extenstion to handle connectionless IQ reports with samples that are in 16 bit signed
|
||||
extension to handle connectionless IQ reports with samples that are in 16 bit signed
|
||||
integer format.
|
||||
|
||||
config BT_DF_VS_CONN_IQ_REPORT_16_BITS_IQ_SAMPLES
|
||||
|
@ -921,7 +921,7 @@ config BT_DF_VS_CONN_IQ_REPORT_16_BITS_IQ_SAMPLES
|
|||
Direction Finging connection IQ reports provide a set of IQ samples collected during
|
||||
sampling of CTE. Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits signed
|
||||
integer, see Vol 4, Part E sections 7.7.65.22. This option enables a vendor specific Host
|
||||
extenstion to handle connection IQ report with samples that are in 16 bit signed integer
|
||||
extension to handle connection IQ report with samples that are in 16 bit signed integer
|
||||
format.
|
||||
|
||||
endif # BT_DF
|
||||
|
|
|
@ -2325,7 +2325,7 @@ static uint8_t att_exec_write_rsp(struct bt_att_chan *chan, uint8_t flags)
|
|||
|
||||
/* The following code will iterate on all prepare writes in the
|
||||
* prep_queue, and reassemble those that share the same handle.
|
||||
* Once a handle has been ressembled, it is sent to the upper layers,
|
||||
* Once a handle has been reassembled, it is sent to the upper layers,
|
||||
* and the next handle is processed
|
||||
*/
|
||||
while (!sys_slist_is_empty(&chan->att->prep_queue)) {
|
||||
|
@ -3498,7 +3498,7 @@ static k_timeout_t credit_based_connection_delay(struct bt_conn *conn)
|
|||
}
|
||||
|
||||
const uint8_t rand_delay = random & 0x7; /* Small random delay for IOP */
|
||||
/* The maximum value of (latency + 1) * 2 multipled with the
|
||||
/* The maximum value of (latency + 1) * 2 multiplied with the
|
||||
* maximum connection interval has a maximum value of
|
||||
* 4000000000 which can be stored in 32-bits, so this won't
|
||||
* result in an overflow
|
||||
|
|
|
@ -1144,7 +1144,7 @@ static int bt_df_set_conn_cte_req_enable(struct bt_conn *conn, bool enable,
|
|||
}
|
||||
|
||||
if (!atomic_test_bit(conn->flags, BT_CONN_CTE_RX_PARAMS_SET)) {
|
||||
LOG_ERR("Can't start CTE requres procedure before CTE RX params setup");
|
||||
LOG_ERR("Can't start CTE request procedure before CTE RX params setup");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
@ -646,7 +646,7 @@ static bool cf_set_value(struct gatt_cf_cfg *cfg, const uint8_t *value, uint16_t
|
|||
}
|
||||
}
|
||||
|
||||
/* Set the bits for each octect */
|
||||
/* Set the bits for each octet */
|
||||
for (i = 0U; i < len && i < CF_NUM_BYTES; i++) {
|
||||
if (i == (CF_NUM_BYTES - 1)) {
|
||||
cfg->data[i] |= value[i] & BIT_MASK(CF_NUM_BITS % 8);
|
||||
|
@ -924,11 +924,11 @@ static void db_hash_gen(void)
|
|||
}
|
||||
|
||||
/**
|
||||
* Core 5.1 does not state the endianess of the hash.
|
||||
* Core 5.1 does not state the endianness of the hash.
|
||||
* However Vol 3, Part F, 3.3.1 says that multi-octet Characteristic
|
||||
* Values shall be LE unless otherwise defined. PTS expects hash to be
|
||||
* in little endianess as well. bt_smp_aes_cmac calculates the hash in
|
||||
* big endianess so we have to swap.
|
||||
* in little endianness as well. bt_smp_aes_cmac calculates the hash in
|
||||
* big endianness so we have to swap.
|
||||
*/
|
||||
sys_mem_swap(db_hash.hash, sizeof(db_hash.hash));
|
||||
|
||||
|
@ -3434,7 +3434,7 @@ static uint8_t disconnected_cb(const struct bt_gatt_attr *attr, uint16_t handle,
|
|||
ccc->cfg_changed(attr, ccc->value);
|
||||
}
|
||||
|
||||
LOG_DBG("ccc %p reseted", ccc);
|
||||
LOG_DBG("ccc %p reset", ccc);
|
||||
}
|
||||
|
||||
return BT_GATT_ITER_CONTINUE;
|
||||
|
|
|
@ -1617,7 +1617,7 @@ void bt_hci_le_enh_conn_complete_sync(struct bt_hci_evt_le_enh_conn_complete_v2
|
|||
update_conn(conn, &id_addr, (const struct bt_hci_evt_le_enh_conn_complete *)evt);
|
||||
|
||||
#if defined(CONFIG_BT_USER_PHY_UPDATE)
|
||||
/* The connection is always initated on the same phy as the PAwR advertiser */
|
||||
/* The connection is always initiated on the same phy as the PAwR advertiser */
|
||||
conn->le.phy.tx_phy = sync->phy;
|
||||
conn->le.phy.rx_phy = sync->phy;
|
||||
#endif
|
||||
|
|
|
@ -241,7 +241,7 @@ static void adv_rpa_expired(struct bt_le_ext_adv *adv, void *data)
|
|||
|
||||
static void adv_rpa_invalidate(struct bt_le_ext_adv *adv, void *data)
|
||||
{
|
||||
/* RPA of Advertisers limited by timeot or number of packets only expire
|
||||
/* RPA of Advertisers limited by timeout or number of packets only expire
|
||||
* when they are stopped.
|
||||
*/
|
||||
if (!atomic_test_bit(adv->flags, BT_ADV_LIMITED) &&
|
||||
|
|
|
@ -2524,7 +2524,7 @@ int bt_iso_chan_connect(const struct bt_iso_connect_param *param, size_t count)
|
|||
*/
|
||||
err = iso_chan_connect_security(param, count);
|
||||
if (err != 0) {
|
||||
LOG_DBG("Failed to initate security for all CIS: %d", err);
|
||||
LOG_DBG("Failed to initiate security for all CIS: %d", err);
|
||||
return err;
|
||||
}
|
||||
#endif /* CONFIG_BT_SMP */
|
||||
|
|
|
@ -1302,7 +1302,7 @@ static uint16_t le_err_to_result(int err)
|
|||
return BT_L2CAP_LE_ERR_KEY_SIZE;
|
||||
case -ENOTSUP:
|
||||
/* This handle the cases where a fixed channel is registered but
|
||||
* for some reason (e.g. controller not suporting a feature)
|
||||
* for some reason (e.g. controller not supporting a feature)
|
||||
* cannot be used.
|
||||
*/
|
||||
return BT_L2CAP_LE_ERR_PSM_NOT_SUPP;
|
||||
|
|
|
@ -288,7 +288,7 @@ static const uint8_t *sc_public_key;
|
|||
static K_SEM_DEFINE(sc_local_pkey_ready, 0, 1);
|
||||
|
||||
/* Pointer to internal data is used to mark that callbacks of given SMP channel are not initialized.
|
||||
* Value of NULL represents no authenticaiton capabilities and cannot be used for that purpose.
|
||||
* Value of NULL represents no authentication capabilities and cannot be used for that purpose.
|
||||
*/
|
||||
#define BT_SMP_AUTH_CB_UNINITIALIZED ((atomic_ptr_val_t)bt_smp_pool)
|
||||
|
||||
|
@ -926,7 +926,7 @@ static void bt_smp_br_disconnected(struct bt_l2cap_chan *chan)
|
|||
|
||||
static void smp_br_init(struct bt_smp_br *smp)
|
||||
{
|
||||
/* Initialize SMP context exluding L2CAP channel context and anything
|
||||
/* Initialize SMP context excluding L2CAP channel context and anything
|
||||
* else declared after.
|
||||
*/
|
||||
(void)memset(smp, 0, offsetof(struct bt_smp_br, chan));
|
||||
|
@ -2611,7 +2611,7 @@ static uint8_t smp_central_ident(struct bt_smp *smp, struct net_buf *buf)
|
|||
|
||||
static int smp_init(struct bt_smp *smp)
|
||||
{
|
||||
/* Initialize SMP context exluding L2CAP channel context and anything
|
||||
/* Initialize SMP context excluding L2CAP channel context and anything
|
||||
* else declared after.
|
||||
*/
|
||||
(void)memset(smp, 0, offsetof(struct bt_smp, chan));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue