diff options
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2100.c')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index 17a9cb3528fc..56afcf041f81 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -578,7 +578,7 @@ static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, | |||
578 | /* get number of entries */ | 578 | /* get number of entries */ |
579 | field_count = *(((u16 *) & field_info) + 1); | 579 | field_count = *(((u16 *) & field_info) + 1); |
580 | 580 | ||
581 | /* abort if no enought memory */ | 581 | /* abort if no enough memory */ |
582 | total_length = field_len * field_count; | 582 | total_length = field_len * field_count; |
583 | if (total_length > *len) { | 583 | if (total_length > *len) { |
584 | *len = total_length; | 584 | *len = total_length; |
@@ -3127,7 +3127,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv) | |||
3127 | IPW_MAX_BDS)) { | 3127 | IPW_MAX_BDS)) { |
3128 | /* TODO: Support merging buffers if more than | 3128 | /* TODO: Support merging buffers if more than |
3129 | * IPW_MAX_BDS are used */ | 3129 | * IPW_MAX_BDS are used */ |
3130 | IPW_DEBUG_INFO("%s: Maximum BD theshold exceeded. " | 3130 | IPW_DEBUG_INFO("%s: Maximum BD threshold exceeded. " |
3131 | "Increase fragmentation level.\n", | 3131 | "Increase fragmentation level.\n", |
3132 | priv->net_dev->name); | 3132 | priv->net_dev->name); |
3133 | } | 3133 | } |
@@ -6897,7 +6897,7 @@ static int ipw2100_wx_get_range(struct net_device *dev, | |||
6897 | range->max_qual.updated = 7; /* Updated all three */ | 6897 | range->max_qual.updated = 7; /* Updated all three */ |
6898 | 6898 | ||
6899 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ | 6899 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ |
6900 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 6900 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
6901 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; | 6901 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; |
6902 | range->avg_qual.noise = 0; | 6902 | range->avg_qual.noise = 0; |
6903 | range->avg_qual.updated = 7; /* Updated all three */ | 6903 | range->avg_qual.updated = 7; /* Updated all three */ |