diff options
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 | } |