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 c28984ae46f..09ddd3e6bed 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 | } |