diff --git a/mesh/README b/mesh/README
index f36b97c..1f75006 100644
--- a/mesh/README
+++ b/mesh/README
File containing next sequence number to use
- seq_num.bak:
Backup of the sequence number. This may be larger than the
- actual sequence number being used at runtime, to prevent re-use
+ actual sequence number being used at runtime, to prevent reuse
of sequence numbers in the event of an unexpected restart.
- ./rpl/:
Directory to store the sequence numbers of remote nodes, as
diff --git a/mesh/mesh-io-generic.c b/mesh/mesh-io-generic.c
index 3da0a8c..1ec4f37 100644
--- a/mesh/mesh-io-generic.c
+++ b/mesh/mesh-io-generic.c
else {
/*
* If transmitter is idle, send packets at least twice to
- * guard against in-line cancelation of HCI command chain.
+ * guard against in-line cancellation of HCI command chain.
*/
if (info->type == MESH_IO_TIMING_TYPE_GENERAL &&
!pvt->tx &&
diff --git a/mesh/mesh-io-mgmt.c b/mesh/mesh-io-mgmt.c
index d185f5c..f33f641 100644
--- a/mesh/mesh-io-mgmt.c
+++ b/mesh/mesh-io-mgmt.c
pvt->dup_timeout = NULL;
}
-/* Ignore consequtive duplicate advertisements within timeout period */
+/* Ignore consecutive duplicate advertisements within timeout period */
static bool filter_dups(const uint8_t *addr, const uint8_t *adv,
uint32_t instant)
{
diff --git a/mesh/mesh.c b/mesh/mesh.c
index 354aaba..01a1607 100644
--- a/mesh/mesh.c
+++ b/mesh/mesh.c
static const char *storage_dir;
-/* Forward static decalrations */
+/* Forward static declarations */
static void def_attach(struct l_timeout *timeout, void *user_data);
static void def_leave(struct l_timeout *timeout, void *user_data);
diff --git a/mesh/net.c b/mesh/net.c
index 1cf74c8..a49df53 100644
--- a/mesh/net.c
+++ b/mesh/net.c
/* Delete associated app keys */
appkey_delete_bound_keys(net, idx);
- /* Disable hearbeat publication on this subnet */
+ /* Disable heartbeat publication on this subnet */
if (idx == net->hb_pub.net_idx)
net->hb_pub.dst = UNASSIGNED_ADDRESS;
msg = l_queue_find(net->msg_cache, match_cache, &tst);
if (msg) {
- l_debug("Supressing duplicate %4.4x + %6.6x + %8.8x",
+ l_debug("Suppressing duplicate %4.4x + %6.6x + %8.8x",
src, seq, mic);
return true;
}
diff --git a/mesh/net.h b/mesh/net.h
index d385ba1..8a3b403 100644
--- a/mesh/net.h
+++ b/mesh/net.h
#define PROXY_FILTER_ACCEPT_LIST 0x00
#define PROXY_FILTER_REJECT_LIST 0x01
-/* Network Tranport Opcodes */
+/* Network Transport Opcodes */
#define NET_OP_SEG_ACKNOWLEDGE 0x00
#define NET_OP_FRND_POLL 0x01
#define NET_OP_FRND_UPDATE 0x02
diff --git a/mesh/node.c b/mesh/node.c
index 65161b7..7f20e97 100644
--- a/mesh/node.c
+++ b/mesh/node.c
/*
* Add configuration server model on the primary element.
- * We allow the application not to specify the presense of
+ * We allow the application not to specify the presence of
* the Configuration Server model, since it's implemented by the
* daemon. If the model is present in the application properties,
* the operation below will be a "no-op".
diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c
index 27d4964..650309b 100644
--- a/mesh/prov-acceptor.c
+++ b/mesh/prov-acceptor.c
if (prov->conf_inputs.start.auth_action ==
PROV_ACTION_OUT_ALPHA) {
- /* TODO: Construst NUL-term string to pass */
+ /* TODO: Construct NUL-term string to pass */
fail.reason = mesh_agent_display_string(
prov->agent, NULL, NULL, prov);
} else {