aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00/ipw2100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2100.c')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2100.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c
index 6e2fc0cb6f8a..64af9080fe92 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 }
@@ -6820,7 +6820,7 @@ static int ipw2100_wx_get_range(struct net_device *dev,
6820 range->max_qual.updated = 7; /* Updated all three */ 6820 range->max_qual.updated = 7; /* Updated all three */
6821 6821
6822 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ 6822 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */
6823 /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 6823 /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
6824 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; 6824 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM;
6825 range->avg_qual.noise = 0; 6825 range->avg_qual.noise = 0;
6826 range->avg_qual.updated = 7; /* Updated all three */ 6826 range->avg_qual.updated = 7; /* Updated all three */