From 746e5c2565e28a8659052e63012647bda4cc6443 Mon Sep 17 00:00:00 2001 From: Nishant Chaprana Date: Fri, 30 Sep 2016 15:36:36 +0530 Subject: [PATCH] Fix spelling mistakes in number of comments Signed-off-by: Nishant Chaprana --- src/ap/ieee802_11.c | 2 +- src/crypto/sha512-internal.c | 2 +- src/p2p/p2p.h | 2 +- src/utils/common.c | 2 +- wpa_supplicant/dbus/dbus_new_handlers_wps.c | 2 +- wpa_supplicant/wmm_ac.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index f1c396b..4e04169 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -619,7 +619,7 @@ static int sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta, * message now to get alternating sequence of * Authentication frames between the AP and STA. * Confirm will be sent in - * Commited -> Confirmed/Accepted transition + * Committed -> Confirmed/Accepted transition * when receiving Confirm from STA. */ } diff --git a/src/crypto/sha512-internal.c b/src/crypto/sha512-internal.c index 66ef331..76c4fe7 100644 --- a/src/crypto/sha512-internal.c +++ b/src/crypto/sha512-internal.c @@ -242,7 +242,7 @@ int sha512_done(struct sha512_state *md, unsigned char *out) md->curlen = 0; } - /* pad upto 120 bytes of zeroes + /* pad up to 120 bytes of zeroes * note: that from 112 to 120 is the 64 MSB of the length. We assume * that you won't hash > 2^64 bits of data... :-) */ diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h index 5b5a0bf..7b18dcf 100644 --- a/src/p2p/p2p.h +++ b/src/p2p/p2p.h @@ -2285,7 +2285,7 @@ struct wpabuf * wifi_display_encaps(struct wpabuf *subelems); * discovery (p2p_find). A random number of 100 TU units is picked for each * Listen state iteration from [min_disc_int,max_disc_int] range. * - * max_disc_tu can be used to futher limit the discoverable duration. However, + * max_disc_tu can be used to further limit the discoverable duration. However, * it should be noted that use of this parameter is not recommended since it * would not be compliant with the P2P specification. */ diff --git a/src/utils/common.c b/src/utils/common.c index 68413b2..04a533a 100644 --- a/src/utils/common.c +++ b/src/utils/common.c @@ -1001,7 +1001,7 @@ int random_mac_addr_keep_oui(u8 *addr) * @delim: a string of delimiters * @last: a pointer to a character following the returned token * It has to be set to NULL for the first call and passed for any - * futher call. + * further call. * Returns: a pointer to token position in str or NULL * * This function is similar to str_token, but it can be used with both diff --git a/wpa_supplicant/dbus/dbus_new_handlers_wps.c b/wpa_supplicant/dbus/dbus_new_handlers_wps.c index 1d5dd1c..f16e229 100644 --- a/wpa_supplicant/dbus/dbus_new_handlers_wps.c +++ b/wpa_supplicant/dbus/dbus_new_handlers_wps.c @@ -325,7 +325,7 @@ DBusMessage * wpas_dbus_handler_wps_start(DBusMessage *message, * @wpa_s: %wpa_supplicant data structure * Returns: NULL on success or DBus error on failure * - * Handler for "Cancel" method call. Returns NULL if WPS cancel successfull + * Handler for "Cancel" method call. Returns NULL if WPS cancel successful * or DBus error on WPS cancel failure */ DBusMessage * wpas_dbus_handler_wps_cancel(DBusMessage *message, diff --git a/wpa_supplicant/wmm_ac.h b/wpa_supplicant/wmm_ac.h index 5171b16..0d15ad0 100644 --- a/wpa_supplicant/wmm_ac.h +++ b/wpa_supplicant/wmm_ac.h @@ -88,7 +88,7 @@ enum ts_dir_idx { */ struct wmm_ac_addts_request { /* - * dialog token - Used to link the recived ADDTS response with this + * dialog token - Used to link the received ADDTS response with this * saved ADDTS request when ADDTS response is being handled */ u8 dialog_token; -- 2.1.4