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 a741d37fd96f..e1b330023200 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 | } |
@@ -6823,7 +6823,7 @@ static int ipw2100_wx_get_range(struct net_device *dev, | |||
6823 | range->max_qual.updated = 7; /* Updated all three */ | 6823 | range->max_qual.updated = 7; /* Updated all three */ |
6824 | 6824 | ||
6825 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ | 6825 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ |
6826 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 6826 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
6827 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; | 6827 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; |
6828 | range->avg_qual.noise = 0; | 6828 | range->avg_qual.noise = 0; |
6829 | range->avg_qual.updated = 7; /* Updated all three */ | 6829 | range->avg_qual.updated = 7; /* Updated all three */ |