diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
commit | d014d043869cdc591f3a33243d3481fa4479c2d0 (patch) | |
tree | 63626829498e647ba058a1ce06419fe7e4d5f97d /drivers/net/wireless/ipw2x00 | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
parent | 6070d81eb5f2d4943223c96e7609a53cdc984364 (diff) |
Merge branch 'for-next' into for-linus
Conflicts:
kernel/irq/chip.c
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 6e2fc0cb6f8a..64af9080fe92 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 | } |
@@ -6820,7 +6820,7 @@ static int ipw2100_wx_get_range(struct net_device *dev, | |||
6820 | range->max_qual.updated = 7; /* Updated all three */ | 6820 | range->max_qual.updated = 7; /* Updated all three */ |
6821 | 6821 | ||
6822 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ | 6822 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ |
6823 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 6823 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
6824 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; | 6824 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; |
6825 | range->avg_qual.noise = 0; | 6825 | range->avg_qual.noise = 0; |
6826 | range->avg_qual.updated = 7; /* Updated all three */ | 6826 | 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 a6ca536e44f8..fdbc97b7fcb5 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -768,7 +768,7 @@ static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len) | |||
768 | /* get number of entries */ | 768 | /* get number of entries */ |
769 | field_count = *(((u16 *) & field_info) + 1); | 769 | field_count = *(((u16 *) & field_info) + 1); |
770 | 770 | ||
771 | /* abort if not enought memory */ | 771 | /* abort if not enough memory */ |
772 | total_len = field_len * field_count; | 772 | total_len = field_len * field_count; |
773 | if (total_len > *len) { | 773 | if (total_len > *len) { |
774 | *len = total_len; | 774 | *len = total_len; |
@@ -7732,7 +7732,7 @@ static void ipw_rebuild_decrypted_skb(struct ipw_priv *priv, | |||
7732 | case SEC_LEVEL_0: | 7732 | case SEC_LEVEL_0: |
7733 | break; | 7733 | break; |
7734 | default: | 7734 | default: |
7735 | printk(KERN_ERR "Unknow security level %d\n", | 7735 | printk(KERN_ERR "Unknown security level %d\n", |
7736 | priv->ieee->sec.level); | 7736 | priv->ieee->sec.level); |
7737 | break; | 7737 | break; |
7738 | } | 7738 | } |
@@ -8916,7 +8916,7 @@ static int ipw_wx_get_range(struct net_device *dev, | |||
8916 | range->max_qual.updated = 7; /* Updated all three */ | 8916 | range->max_qual.updated = 7; /* Updated all three */ |
8917 | 8917 | ||
8918 | range->avg_qual.qual = 70; | 8918 | range->avg_qual.qual = 70; |
8919 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 8919 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
8920 | range->avg_qual.level = 0; /* FIXME to real average level */ | 8920 | range->avg_qual.level = 0; /* FIXME to real average level */ |
8921 | range->avg_qual.noise = 0; | 8921 | range->avg_qual.noise = 0; |
8922 | range->avg_qual.updated = 7; /* Updated all three */ | 8922 | range->avg_qual.updated = 7; /* Updated all three */ |
@@ -10289,7 +10289,7 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb, | |||
10289 | case SEC_LEVEL_0: | 10289 | case SEC_LEVEL_0: |
10290 | break; | 10290 | break; |
10291 | default: | 10291 | default: |
10292 | printk(KERN_ERR "Unknow security level %d\n", | 10292 | printk(KERN_ERR "Unknown security level %d\n", |
10293 | priv->ieee->sec.level); | 10293 | priv->ieee->sec.level); |
10294 | break; | 10294 | break; |
10295 | } | 10295 | } |
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c index eb2b60834c17..c7b3f17d8da1 100644 --- a/drivers/net/wireless/ipw2x00/libipw_module.c +++ b/drivers/net/wireless/ipw2x00/libipw_module.c | |||
@@ -175,7 +175,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv) | |||
175 | ieee->host_decrypt = 1; | 175 | ieee->host_decrypt = 1; |
176 | ieee->host_mc_decrypt = 1; | 176 | ieee->host_mc_decrypt = 1; |
177 | 177 | ||
178 | /* Host fragementation in Open mode. Default is enabled. | 178 | /* Host fragmentation in Open mode. Default is enabled. |
179 | * Note: host fragmentation is always enabled if host encryption | 179 | * Note: host fragmentation is always enabled if host encryption |
180 | * is enabled. For cards can do hardware encryption, they must do | 180 | * is enabled. For cards can do hardware encryption, they must do |
181 | * hardware fragmentation as well. So we don't need a variable | 181 | * hardware fragmentation as well. So we don't need a variable |