aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2012-09-24 12:16:57 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-26 12:19:50 -0400
commitd34602de3ba29b3ceafe4e15e27a25c6a5bccc38 (patch)
tree638b76b27ee325506398432015a8c69658daf0df /drivers/staging/wlan-ng
parentbd084bac93a440388a70f0d9dbddcb5cbad08aca (diff)
staging "wlan-ng" Fix typos.
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r--drivers/staging/wlan-ng/cfg80211.c4
-rw-r--r--drivers/staging/wlan-ng/p80211netdev.c2
-rw-r--r--drivers/staging/wlan-ng/p80211types.h2
-rw-r--r--drivers/staging/wlan-ng/prism2fw.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 57a2b058e3d..18c06a59c09 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -1,7 +1,7 @@
1/* cfg80211 Interface for prism2_usb module */ 1/* cfg80211 Interface for prism2_usb module */
2 2
3 3
4/* Prism2 channell/frequency/bitrate declarations */ 4/* Prism2 channel/frequency/bitrate declarations */
5static const struct ieee80211_channel prism2_channels[] = { 5static const struct ieee80211_channel prism2_channels[] = {
6 { .center_freq = 2412 }, 6 { .center_freq = 2412 },
7 { .center_freq = 2417 }, 7 { .center_freq = 2417 },
@@ -502,7 +502,7 @@ int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
502 goto exit; 502 goto exit;
503 } 503 }
504 504
505 /* Set the authorisation */ 505 /* Set the authorization */
506 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || 506 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) ||
507 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) 507 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep))
508 msg_join.authtype.data = P80211ENUM_authalg_opensystem; 508 msg_join.authtype.data = P80211ENUM_authalg_opensystem;
diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c
index 6ca07e7df40..750330f064f 100644
--- a/drivers/staging/wlan-ng/p80211netdev.c
+++ b/drivers/staging/wlan-ng/p80211netdev.c
@@ -461,7 +461,7 @@ failed:
461/*---------------------------------------------------------------- 461/*----------------------------------------------------------------
462* p80211knetdev_set_multicast_list 462* p80211knetdev_set_multicast_list
463* 463*
464* Called from higher lavers whenever there's a need to set/clear 464* Called from higher layers whenever there's a need to set/clear
465* promiscuous mode or rewrite the multicast list. 465* promiscuous mode or rewrite the multicast list.
466* 466*
467* Arguments: 467* Arguments:
diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h
index f043090ef86..8cb4fc6448a 100644
--- a/drivers/staging/wlan-ng/p80211types.h
+++ b/drivers/staging/wlan-ng/p80211types.h
@@ -197,7 +197,7 @@
197 P80211DID_LSB_ACCESS) 197 P80211DID_LSB_ACCESS)
198 198
199/*----------------------------------------------------------------*/ 199/*----------------------------------------------------------------*/
200/* The following structure types are used for the represenation */ 200/* The following structure types are used for the representation */
201/* of ENUMint type metadata. */ 201/* of ENUMint type metadata. */
202 202
203typedef struct p80211enumpair { 203typedef struct p80211enumpair {
diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c
index e22784e74ef..0dfd2a4933e 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -806,7 +806,7 @@ static int read_cardpda(struct pda *pda, wlandevice_t *wlandev)
806* 806*
807* Note also that the start address record, originally an S7 record in 807* Note also that the start address record, originally an S7 record in
808* the srec file, is expected in the fw file to be like a data record but 808* the srec file, is expected in the fw file to be like a data record but
809* with a certain address to make it identiable. 809* with a certain address to make it identifiable.
810* 810*
811* Here's the SREC format that the fw should have come from: 811* Here's the SREC format that the fw should have come from:
812* S[37]nnaaaaaaaaddd...dddcc 812* S[37]nnaaaaaaaaddd...dddcc