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 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 | } |