aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
commit4ef58d4e2ad1fa2a3e5bbf41af2284671fca8cf8 (patch)
tree856ba96302a36014736747e8464f80eeb827bbdd /drivers/net/wireless/ipw2x00
parentf6c4c8195b5e7878823caa1181be404d9e86d369 (diff)
parentd014d043869cdc591f3a33243d3481fa4479c2d0 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits) tree-wide: fix misspelling of "definition" in comments reiserfs: fix misspelling of "journaled" doc: Fix a typo in slub.txt. inotify: remove superfluous return code check hdlc: spelling fix in find_pvc() comment doc: fix regulator docs cut-and-pasteism mtd: Fix comment in Kconfig doc: Fix IRQ chip docs tree-wide: fix assorted typos all over the place drivers/ata/libata-sff.c: comment spelling fixes fix typos/grammos in Documentation/edac.txt sysctl: add missing comments fs/debugfs/inode.c: fix comment typos sgivwfb: Make use of ARRAY_SIZE. sky2: fix sky2_link_down copy/paste comment error tree-wide: fix typos "couter" -> "counter" tree-wide: fix typos "offest" -> "offset" fix kerneldoc for set_irq_msi() spidev: fix double "of of" in comment comment typo fix: sybsystem -> subsystem ...
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2100.c6
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c8
-rw-r--r--drivers/net/wireless/ipw2x00/libipw_module.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c
index 17a9cb3528fc..56afcf041f81 100644
--- a/drivers/net/wireless/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/ipw2x00/ipw2100.c
@@ -578,7 +578,7 @@ static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord,
578 /* get number of entries */ 578 /* get number of entries */
579 field_count = *(((u16 *) & field_info) + 1); 579 field_count = *(((u16 *) & field_info) + 1);
580 580
581 /* abort if no enought memory */ 581 /* abort if no enough memory */
582 total_length = field_len * field_count; 582 total_length = field_len * field_count;
583 if (total_length > *len) { 583 if (total_length > *len) {
584 *len = total_length; 584 *len = total_length;
@@ -3127,7 +3127,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv)
3127 IPW_MAX_BDS)) { 3127 IPW_MAX_BDS)) {
3128 /* TODO: Support merging buffers if more than 3128 /* TODO: Support merging buffers if more than
3129 * IPW_MAX_BDS are used */ 3129 * IPW_MAX_BDS are used */
3130 IPW_DEBUG_INFO("%s: Maximum BD theshold exceeded. " 3130 IPW_DEBUG_INFO("%s: Maximum BD threshold exceeded. "
3131 "Increase fragmentation level.\n", 3131 "Increase fragmentation level.\n",
3132 priv->net_dev->name); 3132 priv->net_dev->name);
3133 } 3133 }
@@ -6897,7 +6897,7 @@ static int ipw2100_wx_get_range(struct net_device *dev,
6897 range->max_qual.updated = 7; /* Updated all three */ 6897 range->max_qual.updated = 7; /* Updated all three */
6898 6898
6899 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ 6899 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */
6900 /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 6900 /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
6901 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; 6901 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM;
6902 range->avg_qual.noise = 0; 6902 range->avg_qual.noise = 0;
6903 range->avg_qual.updated = 7; /* Updated all three */ 6903 range->avg_qual.updated = 7; /* Updated all three */
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index c28984ae46ff..09ddd3e6bedc 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -792,7 +792,7 @@ static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len)
792 /* get number of entries */ 792 /* get number of entries */
793 field_count = *(((u16 *) & field_info) + 1); 793 field_count = *(((u16 *) & field_info) + 1);
794 794
795 /* abort if not enought memory */ 795 /* abort if not enough memory */
796 total_len = field_len * field_count; 796 total_len = field_len * field_count;
797 if (total_len > *len) { 797 if (total_len > *len) {
798 *len = total_len; 798 *len = total_len;
@@ -7760,7 +7760,7 @@ static void ipw_rebuild_decrypted_skb(struct ipw_priv *priv,
7760 case SEC_LEVEL_0: 7760 case SEC_LEVEL_0:
7761 break; 7761 break;
7762 default: 7762 default:
7763 printk(KERN_ERR "Unknow security level %d\n", 7763 printk(KERN_ERR "Unknown security level %d\n",
7764 priv->ieee->sec.level); 7764 priv->ieee->sec.level);
7765 break; 7765 break;
7766 } 7766 }
@@ -8926,7 +8926,7 @@ static int ipw_wx_get_range(struct net_device *dev,
8926 range->max_qual.updated = 7; /* Updated all three */ 8926 range->max_qual.updated = 7; /* Updated all three */
8927 8927
8928 range->avg_qual.qual = 70; 8928 range->avg_qual.qual = 70;
8929 /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 8929 /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
8930 range->avg_qual.level = 0; /* FIXME to real average level */ 8930 range->avg_qual.level = 0; /* FIXME to real average level */
8931 range->avg_qual.noise = 0; 8931 range->avg_qual.noise = 0;
8932 range->avg_qual.updated = 7; /* Updated all three */ 8932 range->avg_qual.updated = 7; /* Updated all three */
@@ -10299,7 +10299,7 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb,
10299 case SEC_LEVEL_0: 10299 case SEC_LEVEL_0:
10300 break; 10300 break;
10301 default: 10301 default:
10302 printk(KERN_ERR "Unknow security level %d\n", 10302 printk(KERN_ERR "Unknown security level %d\n",
10303 priv->ieee->sec.level); 10303 priv->ieee->sec.level);
10304 break; 10304 break;
10305 } 10305 }
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c
index bf21eb383dbd..1ae0b2b02c38 100644
--- a/drivers/net/wireless/ipw2x00/libipw_module.c
+++ b/drivers/net/wireless/ipw2x00/libipw_module.c
@@ -199,7 +199,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv, int monitor)
199 ieee->host_decrypt = 1; 199 ieee->host_decrypt = 1;
200 ieee->host_mc_decrypt = 1; 200 ieee->host_mc_decrypt = 1;
201 201
202 /* Host fragementation in Open mode. Default is enabled. 202 /* Host fragmentation in Open mode. Default is enabled.
203 * Note: host fragmentation is always enabled if host encryption 203 * Note: host fragmentation is always enabled if host encryption
204 * is enabled. For cards can do hardware encryption, they must do 204 * is enabled. For cards can do hardware encryption, they must do
205 * hardware fragmentation as well. So we don't need a variable 205 * hardware fragmentation as well. So we don't need a variable