Fix spelling mistakes in number of comments
authorNishant Chaprana <n.chaprana@samsung.com>
Fri, 30 Sep 2016 10:06:36 +0000 (15:36 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 30 Sep 2016 19:45:03 +0000 (22:45 +0300)
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
src/ap/ieee802_11.c
src/crypto/sha512-internal.c
src/p2p/p2p.h
src/utils/common.c
wpa_supplicant/dbus/dbus_new_handlers_wps.c
wpa_supplicant/wmm_ac.h

index f1c396b..4e04169 100644 (file)
@@ -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.
                                 */
                        }
index 66ef331..76c4fe7 100644 (file)
@@ -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... :-)
         */
index 5b5a0bf..7b18dcf 100644 (file)
@@ -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.
  */
index 68413b2..04a533a 100644 (file)
@@ -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
index 1d5dd1c..f16e229 100644 (file)
@@ -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,
index 5171b16..0d15ad0 100644 (file)
@@ -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;