aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
authorIan Schram <ischram@telenet.be>2007-10-25 05:15:22 -0400
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:06 -0500
commit01ebd063e11bdcf1ddc605d968ea89aef48e34e0 (patch)
treed7c4046afe2f615f6ddb8f611eee81a3ddad3839 /drivers/net/wireless/iwlwifi/iwl3945-base.c
parent220173b01266d866009ca075757effad39648529 (diff)
iwlwifi: fix various spelling and typos
Fixing various spelling errors and typos. Mostly in comments. In total 27 words were corrected, some of which occurred more than ones. Signed-Of-By: Ian Schram <ischram@telenet.be> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 0b3ec7e4d93b..60e25464cee4 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -287,7 +287,7 @@ static int iwl_tx_queue_alloc(struct iwl_priv *priv,
287 txq->txb = kmalloc(sizeof(txq->txb[0]) * 287 txq->txb = kmalloc(sizeof(txq->txb[0]) *
288 TFD_QUEUE_SIZE_MAX, GFP_KERNEL); 288 TFD_QUEUE_SIZE_MAX, GFP_KERNEL);
289 if (!txq->txb) { 289 if (!txq->txb) {
290 IWL_ERROR("kmalloc for auxilary BD " 290 IWL_ERROR("kmalloc for auxiliary BD "
291 "structures failed\n"); 291 "structures failed\n");
292 goto error; 292 goto error;
293 } 293 }
@@ -323,7 +323,7 @@ int iwl_tx_queue_init(struct iwl_priv *priv,
323 int len; 323 int len;
324 int rc = 0; 324 int rc = 0;
325 325
326 /* alocate command space + one big command for scan since scan 326 /* allocate command space + one big command for scan since scan
327 * command is very huge the system will not have two scan at the 327 * command is very huge the system will not have two scan at the
328 * same time */ 328 * same time */
329 len = sizeof(struct iwl_cmd) * slots_num; 329 len = sizeof(struct iwl_cmd) * slots_num;
@@ -405,7 +405,7 @@ const u8 BROADCAST_ADDR[ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
405 */ 405 */
406 406
407/**************************************************************/ 407/**************************************************************/
408#if 0 /* temparary disable till we add real remove station */ 408#if 0 /* temporary disable till we add real remove station */
409static u8 iwl_remove_station(struct iwl_priv *priv, const u8 *addr, int is_ap) 409static u8 iwl_remove_station(struct iwl_priv *priv, const u8 *addr, int is_ap)
410{ 410{
411 int index = IWL_INVALID_STATION; 411 int index = IWL_INVALID_STATION;
@@ -482,7 +482,7 @@ u8 iwl_add_station(struct iwl_priv *priv, const u8 *addr, int is_ap, u8 flags)
482 index = i; 482 index = i;
483 } 483 }
484 484
485 /* These twh conditions has the same outcome but keep them separate 485 /* These two conditions has the same outcome but keep them separate
486 since they have different meaning */ 486 since they have different meaning */
487 if (unlikely(index == IWL_INVALID_STATION)) { 487 if (unlikely(index == IWL_INVALID_STATION)) {
488 spin_unlock_irqrestore(&priv->sta_lock, flags_spin); 488 spin_unlock_irqrestore(&priv->sta_lock, flags_spin);
@@ -959,7 +959,7 @@ static int iwl_check_rxon_cmd(struct iwl_rxon_cmd *rxon)
959 959
960/** 960/**
961 * iwl_full_rxon_required - determine if RXON_ASSOC can be used in RXON commit 961 * iwl_full_rxon_required - determine if RXON_ASSOC can be used in RXON commit
962 * @priv: staging_rxon is comapred to active_rxon 962 * @priv: staging_rxon is compared to active_rxon
963 * 963 *
964 * If the RXON structure is changing sufficient to require a new 964 * If the RXON structure is changing sufficient to require a new
965 * tune or to clear and reset the RXON_FILTER_ASSOC_MSK then return 1 965 * tune or to clear and reset the RXON_FILTER_ASSOC_MSK then return 1
@@ -1047,7 +1047,7 @@ static int iwl_send_rxon_assoc(struct iwl_priv *priv)
1047/** 1047/**
1048 * iwl_commit_rxon - commit staging_rxon to hardware 1048 * iwl_commit_rxon - commit staging_rxon to hardware
1049 * 1049 *
1050 * The RXON command in staging_rxon is commited to the hardware and 1050 * The RXON command in staging_rxon is committed to the hardware and
1051 * the active_rxon structure is updated with the new data. This 1051 * the active_rxon structure is updated with the new data. This
1052 * function correctly transitions out of the RXON_ASSOC_MSK state if 1052 * function correctly transitions out of the RXON_ASSOC_MSK state if
1053 * a HW tune is required based on the RXON structure changes. 1053 * a HW tune is required based on the RXON structure changes.
@@ -2150,7 +2150,7 @@ static int iwl_send_power_mode(struct iwl_priv *priv, u32 mode)
2150 struct iwl_powertable_cmd cmd; 2150 struct iwl_powertable_cmd cmd;
2151 2151
2152 /* If on battery, set to 3, 2152 /* If on battery, set to 3,
2153 * if plugged into AC power, set to CAM ("continuosly aware mode"), 2153 * if plugged into AC power, set to CAM ("continuously aware mode"),
2154 * else user level */ 2154 * else user level */
2155 switch (mode) { 2155 switch (mode) {
2156 case IWL_POWER_BATTERY: 2156 case IWL_POWER_BATTERY:
@@ -2440,7 +2440,7 @@ static void iwl_set_flags_for_phymode(struct iwl_priv *priv, u8 phymode)
2440} 2440}
2441 2441
2442/* 2442/*
2443 * initilize rxon structure with default values fromm eeprom 2443 * initialize rxon structure with default values from eeprom
2444 */ 2444 */
2445static void iwl_connection_init_rx_config(struct iwl_priv *priv) 2445static void iwl_connection_init_rx_config(struct iwl_priv *priv)
2446{ 2446{
@@ -2704,7 +2704,7 @@ static int iwl_get_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr)
2704 return priv->hw_setting.bcast_sta_id; 2704 return priv->hw_setting.bcast_sta_id;
2705 } 2705 }
2706 default: 2706 default:
2707 IWL_WARNING("Unkown mode of operation: %d", priv->iw_mode); 2707 IWL_WARNING("Unknown mode of operation: %d", priv->iw_mode);
2708 return priv->hw_setting.bcast_sta_id; 2708 return priv->hw_setting.bcast_sta_id;
2709 } 2709 }
2710} 2710}
@@ -3890,7 +3890,7 @@ static void iwl_tx_cmd_complete(struct iwl_priv *priv,
3890 * The management in the driver is as follows: 3890 * The management in the driver is as follows:
3891 * + A list of pre-allocated SKBs is stored in iwl->rxq->rx_free. When 3891 * + A list of pre-allocated SKBs is stored in iwl->rxq->rx_free. When
3892 * iwl->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled 3892 * iwl->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled
3893 * to replensish the iwl->rxq->rx_free. 3893 * to replenish the iwl->rxq->rx_free.
3894 * + In iwl_rx_replenish (scheduled) if 'processed' != 'read' then the 3894 * + In iwl_rx_replenish (scheduled) if 'processed' != 'read' then the
3895 * iwl->rxq is replenished and the READ INDEX is updated (updating the 3895 * iwl->rxq is replenished and the READ INDEX is updated (updating the
3896 * 'processed' and 'read' driver indexes as well) 3896 * 'processed' and 'read' driver indexes as well)
@@ -4047,12 +4047,12 @@ int iwl_rx_queue_restock(struct iwl_priv *priv)
4047} 4047}
4048 4048
4049/** 4049/**
4050 * iwl_rx_replensih - Move all used packet from rx_used to rx_free 4050 * iwl_rx_replenish - Move all used packet from rx_used to rx_free
4051 * 4051 *
4052 * When moving to rx_free an SKB is allocated for the slot. 4052 * When moving to rx_free an SKB is allocated for the slot.
4053 * 4053 *
4054 * Also restock the Rx queue via iwl_rx_queue_restock. 4054 * Also restock the Rx queue via iwl_rx_queue_restock.
4055 * This is called as a scheduled work item (except for during intialization) 4055 * This is called as a scheduled work item (except for during initialization)
4056 */ 4056 */
4057void iwl_rx_replenish(void *data) 4057void iwl_rx_replenish(void *data)
4058{ 4058{
@@ -6042,7 +6042,7 @@ static int iwl_set_ucode_ptrs(struct iwl_priv *priv)
6042} 6042}
6043 6043
6044/** 6044/**
6045 * iwl_init_alive_start - Called after REPLY_ALIVE notification receieved 6045 * iwl_init_alive_start - Called after REPLY_ALIVE notification received
6046 * 6046 *
6047 * Called after REPLY_ALIVE notification received from "initialize" uCode. 6047 * Called after REPLY_ALIVE notification received from "initialize" uCode.
6048 * 6048 *
@@ -6693,7 +6693,7 @@ static void iwl_bg_request_scan(struct work_struct *data)
6693 return; 6693 return;
6694 6694
6695 done: 6695 done:
6696 /* inform mac80211 sacn aborted */ 6696 /* inform mac80211 scan aborted */
6697 queue_work(priv->workqueue, &priv->scan_completed); 6697 queue_work(priv->workqueue, &priv->scan_completed);
6698 mutex_unlock(&priv->mutex); 6698 mutex_unlock(&priv->mutex);
6699} 6699}
@@ -6997,7 +6997,7 @@ static int iwl_mac_config(struct ieee80211_hw *hw, struct ieee80211_conf *conf)
6997 } 6997 }
6998 6998
6999 /* TODO: Figure out how to get ieee80211_local->sta_scanning w/ only 6999 /* TODO: Figure out how to get ieee80211_local->sta_scanning w/ only
7000 * what is exposed through include/ declrations */ 7000 * what is exposed through include/ declarations */
7001 if (unlikely(!iwl_param_disable_hw_scan && 7001 if (unlikely(!iwl_param_disable_hw_scan &&
7002 test_bit(STATUS_SCANNING, &priv->status))) { 7002 test_bit(STATUS_SCANNING, &priv->status))) {
7003 IWL_DEBUG_MAC80211("leave - scanning\n"); 7003 IWL_DEBUG_MAC80211("leave - scanning\n");
@@ -8541,7 +8541,7 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
8541 8541
8542 mutex_unlock(&priv->mutex); 8542 mutex_unlock(&priv->mutex);
8543 8543
8544 IWL_DEBUG_INFO("Queing UP work.\n"); 8544 IWL_DEBUG_INFO("Queueing UP work.\n");
8545 8545
8546 queue_work(priv->workqueue, &priv->up); 8546 queue_work(priv->workqueue, &priv->up);
8547 8547