diff options
author | Ian Schram <ischram@telenet.be> | 2007-10-25 05:15:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:06 -0500 |
commit | 01ebd063e11bdcf1ddc605d968ea89aef48e34e0 (patch) | |
tree | d7c4046afe2f615f6ddb8f611eee81a3ddad3839 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 220173b01266d866009ca075757effad39648529 (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/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 35ebe2b8976..1fe05402080 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -286,7 +286,7 @@ static int iwl_tx_queue_alloc(struct iwl_priv *priv, | |||
286 | txq->txb = kmalloc(sizeof(txq->txb[0]) * | 286 | txq->txb = kmalloc(sizeof(txq->txb[0]) * |
287 | TFD_QUEUE_SIZE_MAX, GFP_KERNEL); | 287 | TFD_QUEUE_SIZE_MAX, GFP_KERNEL); |
288 | if (!txq->txb) { | 288 | if (!txq->txb) { |
289 | IWL_ERROR("kmalloc for auxilary BD " | 289 | IWL_ERROR("kmalloc for auxiliary BD " |
290 | "structures failed\n"); | 290 | "structures failed\n"); |
291 | goto error; | 291 | goto error; |
292 | } | 292 | } |
@@ -322,7 +322,7 @@ int iwl_tx_queue_init(struct iwl_priv *priv, | |||
322 | int len; | 322 | int len; |
323 | int rc = 0; | 323 | int rc = 0; |
324 | 324 | ||
325 | /* alocate command space + one big command for scan since scan | 325 | /* allocate command space + one big command for scan since scan |
326 | * command is very huge the system will not have two scan at the | 326 | * command is very huge the system will not have two scan at the |
327 | * same time */ | 327 | * same time */ |
328 | len = sizeof(struct iwl_cmd) * slots_num; | 328 | 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 */ |
409 | static u8 iwl_remove_station(struct iwl_priv *priv, const u8 *addr, int is_ap) | 409 | static 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 | } | 482 | } |
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); |
@@ -970,7 +970,7 @@ static int iwl_check_rxon_cmd(struct iwl_rxon_cmd *rxon) | |||
970 | 970 | ||
971 | /** | 971 | /** |
972 | * iwl_full_rxon_required - determine if RXON_ASSOC can be used in RXON commit | 972 | * iwl_full_rxon_required - determine if RXON_ASSOC can be used in RXON commit |
973 | * @priv: staging_rxon is comapred to active_rxon | 973 | * @priv: staging_rxon is compared to active_rxon |
974 | * | 974 | * |
975 | * If the RXON structure is changing sufficient to require a new | 975 | * If the RXON structure is changing sufficient to require a new |
976 | * tune or to clear and reset the RXON_FILTER_ASSOC_MSK then return 1 | 976 | * tune or to clear and reset the RXON_FILTER_ASSOC_MSK then return 1 |
@@ -1073,7 +1073,7 @@ static int iwl_send_rxon_assoc(struct iwl_priv *priv) | |||
1073 | /** | 1073 | /** |
1074 | * iwl_commit_rxon - commit staging_rxon to hardware | 1074 | * iwl_commit_rxon - commit staging_rxon to hardware |
1075 | * | 1075 | * |
1076 | * The RXON command in staging_rxon is commited to the hardware and | 1076 | * The RXON command in staging_rxon is committed to the hardware and |
1077 | * the active_rxon structure is updated with the new data. This | 1077 | * the active_rxon structure is updated with the new data. This |
1078 | * function correctly transitions out of the RXON_ASSOC_MSK state if | 1078 | * function correctly transitions out of the RXON_ASSOC_MSK state if |
1079 | * a HW tune is required based on the RXON structure changes. | 1079 | * a HW tune is required based on the RXON structure changes. |
@@ -2224,7 +2224,7 @@ static int iwl_send_power_mode(struct iwl_priv *priv, u32 mode) | |||
2224 | struct iwl_powertable_cmd cmd; | 2224 | struct iwl_powertable_cmd cmd; |
2225 | 2225 | ||
2226 | /* If on battery, set to 3, | 2226 | /* If on battery, set to 3, |
2227 | * if plugged into AC power, set to CAM ("continuosly aware mode"), | 2227 | * if plugged into AC power, set to CAM ("continuously aware mode"), |
2228 | * else user level */ | 2228 | * else user level */ |
2229 | switch (mode) { | 2229 | switch (mode) { |
2230 | case IWL_POWER_BATTERY: | 2230 | case IWL_POWER_BATTERY: |
@@ -2516,7 +2516,7 @@ static void iwl_set_flags_for_phymode(struct iwl_priv *priv, u8 phymode) | |||
2516 | } | 2516 | } |
2517 | 2517 | ||
2518 | /* | 2518 | /* |
2519 | * initilize rxon structure with default values fromm eeprom | 2519 | * initialize rxon structure with default values from eeprom |
2520 | */ | 2520 | */ |
2521 | static void iwl_connection_init_rx_config(struct iwl_priv *priv) | 2521 | static void iwl_connection_init_rx_config(struct iwl_priv *priv) |
2522 | { | 2522 | { |
@@ -2787,7 +2787,7 @@ static int iwl_get_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr) | |||
2787 | return priv->hw_setting.bcast_sta_id; | 2787 | return priv->hw_setting.bcast_sta_id; |
2788 | 2788 | ||
2789 | default: | 2789 | default: |
2790 | IWL_WARNING("Unkown mode of operation: %d", priv->iw_mode); | 2790 | IWL_WARNING("Unknown mode of operation: %d", priv->iw_mode); |
2791 | return priv->hw_setting.bcast_sta_id; | 2791 | return priv->hw_setting.bcast_sta_id; |
2792 | } | 2792 | } |
2793 | } | 2793 | } |
@@ -4210,7 +4210,7 @@ static void iwl_tx_cmd_complete(struct iwl_priv *priv, | |||
4210 | * The management in the driver is as follows: | 4210 | * The management in the driver is as follows: |
4211 | * + A list of pre-allocated SKBs is stored in iwl->rxq->rx_free. When | 4211 | * + A list of pre-allocated SKBs is stored in iwl->rxq->rx_free. When |
4212 | * iwl->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled | 4212 | * iwl->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled |
4213 | * to replensish the iwl->rxq->rx_free. | 4213 | * to replenish the iwl->rxq->rx_free. |
4214 | * + In iwl_rx_replenish (scheduled) if 'processed' != 'read' then the | 4214 | * + In iwl_rx_replenish (scheduled) if 'processed' != 'read' then the |
4215 | * iwl->rxq is replenished and the READ INDEX is updated (updating the | 4215 | * iwl->rxq is replenished and the READ INDEX is updated (updating the |
4216 | * 'processed' and 'read' driver indexes as well) | 4216 | * 'processed' and 'read' driver indexes as well) |
@@ -4368,12 +4368,12 @@ int iwl_rx_queue_restock(struct iwl_priv *priv) | |||
4368 | } | 4368 | } |
4369 | 4369 | ||
4370 | /** | 4370 | /** |
4371 | * iwl_rx_replensih - Move all used packet from rx_used to rx_free | 4371 | * iwl_rx_replenish - Move all used packet from rx_used to rx_free |
4372 | * | 4372 | * |
4373 | * When moving to rx_free an SKB is allocated for the slot. | 4373 | * When moving to rx_free an SKB is allocated for the slot. |
4374 | * | 4374 | * |
4375 | * Also restock the Rx queue via iwl_rx_queue_restock. | 4375 | * Also restock the Rx queue via iwl_rx_queue_restock. |
4376 | * This is called as a scheduled work item (except for during intialization) | 4376 | * This is called as a scheduled work item (except for during initialization) |
4377 | */ | 4377 | */ |
4378 | void iwl_rx_replenish(void *data) | 4378 | void iwl_rx_replenish(void *data) |
4379 | { | 4379 | { |
@@ -6415,7 +6415,7 @@ static int iwl_set_ucode_ptrs(struct iwl_priv *priv) | |||
6415 | } | 6415 | } |
6416 | 6416 | ||
6417 | /** | 6417 | /** |
6418 | * iwl_init_alive_start - Called after REPLY_ALIVE notification receieved | 6418 | * iwl_init_alive_start - Called after REPLY_ALIVE notification received |
6419 | * | 6419 | * |
6420 | * Called after REPLY_ALIVE notification received from "initialize" uCode. | 6420 | * Called after REPLY_ALIVE notification received from "initialize" uCode. |
6421 | * | 6421 | * |
@@ -7068,7 +7068,7 @@ static void iwl_bg_request_scan(struct work_struct *data) | |||
7068 | return; | 7068 | return; |
7069 | 7069 | ||
7070 | done: | 7070 | done: |
7071 | /* inform mac80211 sacn aborted */ | 7071 | /* inform mac80211 scan aborted */ |
7072 | queue_work(priv->workqueue, &priv->scan_completed); | 7072 | queue_work(priv->workqueue, &priv->scan_completed); |
7073 | mutex_unlock(&priv->mutex); | 7073 | mutex_unlock(&priv->mutex); |
7074 | } | 7074 | } |
@@ -7386,7 +7386,7 @@ static int iwl_mac_config(struct ieee80211_hw *hw, struct ieee80211_conf *conf) | |||
7386 | } | 7386 | } |
7387 | 7387 | ||
7388 | /* TODO: Figure out how to get ieee80211_local->sta_scanning w/ only | 7388 | /* TODO: Figure out how to get ieee80211_local->sta_scanning w/ only |
7389 | * what is exposed through include/ declrations */ | 7389 | * what is exposed through include/ declarations */ |
7390 | if (unlikely(!iwl_param_disable_hw_scan && | 7390 | if (unlikely(!iwl_param_disable_hw_scan && |
7391 | test_bit(STATUS_SCANNING, &priv->status))) { | 7391 | test_bit(STATUS_SCANNING, &priv->status))) { |
7392 | IWL_DEBUG_MAC80211("leave - scanning\n"); | 7392 | IWL_DEBUG_MAC80211("leave - scanning\n"); |
@@ -9159,7 +9159,7 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
9159 | 9159 | ||
9160 | mutex_unlock(&priv->mutex); | 9160 | mutex_unlock(&priv->mutex); |
9161 | 9161 | ||
9162 | IWL_DEBUG_INFO("Queing UP work.\n"); | 9162 | IWL_DEBUG_INFO("Queueing UP work.\n"); |
9163 | 9163 | ||
9164 | queue_work(priv->workqueue, &priv->up); | 9164 | queue_work(priv->workqueue, &priv->up); |
9165 | 9165 | ||