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 a741d37fd96f..e1b330023200 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -551,7 +551,7 @@ static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, | |||
551 | /* get number of entries */ | 551 | /* get number of entries */ |
552 | field_count = *(((u16 *) & field_info) + 1); | 552 | field_count = *(((u16 *) & field_info) + 1); |
553 | 553 | ||
554 | /* abort if no enought memory */ | 554 | /* abort if no enough memory */ |
555 | total_length = field_len * field_count; | 555 | total_length = field_len * field_count; |
556 | if (total_length > *len) { | 556 | if (total_length > *len) { |
557 | *len = total_length; | 557 | *len = total_length; |
@@ -3044,7 +3044,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv) | |||
3044 | IPW_MAX_BDS)) { | 3044 | IPW_MAX_BDS)) { |
3045 | /* TODO: Support merging buffers if more than | 3045 | /* TODO: Support merging buffers if more than |
3046 | * IPW_MAX_BDS are used */ | 3046 | * IPW_MAX_BDS are used */ |
3047 | IPW_DEBUG_INFO("%s: Maximum BD theshold exceeded. " | 3047 | IPW_DEBUG_INFO("%s: Maximum BD threshold exceeded. " |
3048 | "Increase fragmentation level.\n", | 3048 | "Increase fragmentation level.\n", |
3049 | priv->net_dev->name); | 3049 | priv->net_dev->name); |
3050 | } | 3050 | } |
@@ -6823,7 +6823,7 @@ static int ipw2100_wx_get_range(struct net_device *dev, | |||
6823 | range->max_qual.updated = 7; /* Updated all three */ | 6823 | range->max_qual.updated = 7; /* Updated all three */ |
6824 | 6824 | ||
6825 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ | 6825 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ |
6826 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 6826 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
6827 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; | 6827 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; |
6828 | range->avg_qual.noise = 0; | 6828 | range->avg_qual.noise = 0; |
6829 | range->avg_qual.updated = 7; /* Updated all three */ | 6829 | 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 9b0f2c0646e0..b2aa960b8346 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -787,7 +787,7 @@ static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len) | |||
787 | /* get number of entries */ | 787 | /* get number of entries */ |
788 | field_count = *(((u16 *) & field_info) + 1); | 788 | field_count = *(((u16 *) & field_info) + 1); |
789 | 789 | ||
790 | /* abort if not enought memory */ | 790 | /* abort if not enough memory */ |
791 | total_len = field_len * field_count; | 791 | total_len = field_len * field_count; |
792 | if (total_len > *len) { | 792 | if (total_len > *len) { |
793 | *len = total_len; | 793 | *len = total_len; |
@@ -7751,7 +7751,7 @@ static void ipw_rebuild_decrypted_skb(struct ipw_priv *priv, | |||
7751 | case SEC_LEVEL_0: | 7751 | case SEC_LEVEL_0: |
7752 | break; | 7752 | break; |
7753 | default: | 7753 | default: |
7754 | printk(KERN_ERR "Unknow security level %d\n", | 7754 | printk(KERN_ERR "Unknown security level %d\n", |
7755 | priv->ieee->sec.level); | 7755 | priv->ieee->sec.level); |
7756 | break; | 7756 | break; |
7757 | } | 7757 | } |
@@ -8917,7 +8917,7 @@ static int ipw_wx_get_range(struct net_device *dev, | |||
8917 | range->max_qual.updated = 7; /* Updated all three */ | 8917 | range->max_qual.updated = 7; /* Updated all three */ |
8918 | 8918 | ||
8919 | range->avg_qual.qual = 70; | 8919 | range->avg_qual.qual = 70; |
8920 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 8920 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
8921 | range->avg_qual.level = 0; /* FIXME to real average level */ | 8921 | range->avg_qual.level = 0; /* FIXME to real average level */ |
8922 | range->avg_qual.noise = 0; | 8922 | range->avg_qual.noise = 0; |
8923 | range->avg_qual.updated = 7; /* Updated all three */ | 8923 | range->avg_qual.updated = 7; /* Updated all three */ |
@@ -10290,7 +10290,7 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb, | |||
10290 | case SEC_LEVEL_0: | 10290 | case SEC_LEVEL_0: |
10291 | break; | 10291 | break; |
10292 | default: | 10292 | default: |
10293 | printk(KERN_ERR "Unknow security level %d\n", | 10293 | printk(KERN_ERR "Unknown security level %d\n", |
10294 | priv->ieee->sec.level); | 10294 | priv->ieee->sec.level); |
10295 | break; | 10295 | break; |
10296 | } | 10296 | } |
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c index be5b809ec97a..20b8a8a20644 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 |