From 0382a636d6a6db8eb37c0e2028e273b0c83ebed3 Mon Sep 17 00:00:00 2001 From: proski Date: Tue, 23 Mar 2010 22:49:56 +0000 Subject: [PATCH] Fix typos git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4125 0192ed92-7a03-0410-a25b-9323aeb14dbd --- README | 2 +- net80211/ieee80211_crypto_ccmp.c | 2 +- net80211/ieee80211_crypto_tkip.c | 2 +- net80211/ieee80211_crypto_wep.c | 2 +- net80211/ieee80211_node.h | 2 +- tools/wlanconfig.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README b/README index 5b4f4fb..f4f74d6 100644 --- a/README +++ b/README @@ -199,7 +199,7 @@ To create APs that share a single MAC address, just create the VAPs: wlanconfig ath0 create wlandev wifi0 wlanmode ap wlanconfig ath1 create wlandev wifi0 wlanmode ap -To create an VAP with a unique MAC addresss, use the bssid parameter: +To create an VAP with a unique MAC address, use the bssid parameter: wlanconfig ath0 create wlandev wifi0 wlanmode ap wlanconfig ath1 create wlandev wifi0 wlanmode ap bssid diff --git a/net80211/ieee80211_crypto_ccmp.c b/net80211/ieee80211_crypto_ccmp.c index 16864cd..8d1e7d3 100644 --- a/net80211/ieee80211_crypto_ccmp.c +++ b/net80211/ieee80211_crypto_ccmp.c @@ -209,7 +209,7 @@ ccmp_encap(struct ieee80211_key *k, struct sk_buff *skb, u_int8_t keyid) ivp[7] = k->wk_keytsc >> 40; /* PN5 */ /* - * Finally, do software encrypt if neeed. + * Finally, do software encrypt if needed. */ if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && !ccmp_encrypt(k, skb, hdrlen)) diff --git a/net80211/ieee80211_crypto_tkip.c b/net80211/ieee80211_crypto_tkip.c index ada981d..0f2e79b 100644 --- a/net80211/ieee80211_crypto_tkip.c +++ b/net80211/ieee80211_crypto_tkip.c @@ -188,7 +188,7 @@ tkip_encap(struct ieee80211_key *k, struct sk_buff *skb, u_int8_t keyid) ivp[7] = k->wk_keytsc >> 40; /* TSC5 */ /* - * Finally, do software encrypt if neeed. + * Finally, do software encrypt if needed. */ if (k->wk_flags & IEEE80211_KEY_SWCRYPT) { if (!tkip_encrypt(ctx, k, skb, hdrlen)) diff --git a/net80211/ieee80211_crypto_wep.c b/net80211/ieee80211_crypto_wep.c index 5b3e3e8..281512e 100644 --- a/net80211/ieee80211_crypto_wep.c +++ b/net80211/ieee80211_crypto_wep.c @@ -185,7 +185,7 @@ wep_encap(struct ieee80211_key *k, struct sk_buff *skb, u_int8_t keyid) ivp[3] = keyid; /* - * Finally, do software encrypt if neeed. + * Finally, do software encrypt if needed. */ if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && !wep_encrypt(k, skb, hdrlen)) diff --git a/net80211/ieee80211_node.h b/net80211/ieee80211_node.h index 03f8253..5bb8f2c 100644 --- a/net80211/ieee80211_node.h +++ b/net80211/ieee80211_node.h @@ -114,7 +114,7 @@ struct ieee80211_node { u_int8_t ni_ath_flags; /* Atheros feature flags */ /* NB: These must have the same values as IEEE80211_ATHC_* */ #define IEEE80211_NODE_TURBOP 0x0001 /* Turbo prime enable */ -#define IEEE80211_NODE_COMP 0x0002 /* Compresssion enable */ +#define IEEE80211_NODE_COMP 0x0002 /* Compression enable */ #define IEEE80211_NODE_FF 0x0004 /* Fast Frame capable */ #define IEEE80211_NODE_XR 0x0008 /* Atheros WME enable */ #define IEEE80211_NODE_AR 0x0010 /* AR capable */ diff --git a/tools/wlanconfig.c b/tools/wlanconfig.c index e3e9f1c..1c0ff91 100644 --- a/tools/wlanconfig.c +++ b/tools/wlanconfig.c @@ -66,7 +66,7 @@ * These are taken from ieee80211_node.h */ #define IEEE80211_NODE_TURBOP 0x0001 /* Turbo prime enable */ -#define IEEE80211_NODE_COMP 0x0002 /* Compresssion enable */ +#define IEEE80211_NODE_COMP 0x0002 /* Compression enable */ #define IEEE80211_NODE_FF 0x0004 /* Fast Frame capable */ #define IEEE80211_NODE_XR 0x0008 /* Atheros WME enable */ #define IEEE80211_NODE_AR 0x0010 /* AR capable */ -- 2.35.1