diff options
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2100.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2x00/libipw_module.c | 2 |
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 |