rt2x00: Comment spellchecking
PATCH 1/1 rt2x00: Comment spellchecking
From: Luis Correia <[email protected]>
Fix a bunch of spelling errors in the rt2x00 drivers
Signed-off-by Luis Correia <[email protected]>
Signed-off-by Ivo van Doorn <[email protected]>
---
drivers/net/wireless/rt2x00/rt2400pci.h +1 -1
@@ -928,7 +928,7 @@#define RXD_W7_RESERVED FIELD32(0xffffffff)/* -* Macro's for converting txpower from EEPROM to mac80211 value +* Macros for converting txpower from EEPROM to mac80211 value * and from mac80211 value to register value. * NOTE: Logics in rt2400pci for txpower are reversed * compared to the other rt2x00 drivers. A higher txpower
drivers/net/wireless/rt2x00/rt2500pci.h +1 -1
@@ -1218,7 +1218,7 @@#define RXD_W10_DROP FIELD32(0x00000001)/* -* Macro's for converting txpower from EEPROM to mac80211 value +* Macros for converting txpower from EEPROM to mac80211 value * and from mac80211 value to register value. */ #define MIN_TXPOWER 0
drivers/net/wireless/rt2x00/rt2500usb.h +1 -1
@@ -831,7 +831,7 @@#define RXD_W3_EIV FIELD32(0xffffffff)/* -* Macro's for converting txpower from EEPROM to mac80211 value +* Macros for converting txpower from EEPROM to mac80211 value * and from mac80211 value to register value. */ #define MIN_TXPOWER 0
drivers/net/wireless/rt2x00/rt2800usb.c +2 -2
@@ -1910,7 +1910,7 @@ static int rt2800usb_set_device_state(struct rt2x00_dev *rt2x00dev,/* * Before the radio can be enabled, the device first has * to be woken up. After that it needs a bit of time -* to be fully awake and the radio can be enabled. +* to be fully awake and then the radio can be enabled. */ rt2800usb_set_state (rt2x00dev,STATE_AWAKE );msleep (1 );
@@ -1918,7 +1918,7 @@ static int rt2800usb_set_device_state(struct rt2x00_dev *rt2x00dev,break ;case STATE_RADIO_OFF :/* -* After the radio has been disablee, the device should +* After the radio has been disabled, the device should * be put to sleep for powersaving. */ rt2800usb_disable_radio (rt2x00dev);
drivers/net/wireless/rt2x00/rt2800usb.h +1 -1
@@ -1921,7 +1921,7 @@ struct mac_iveiv_entry {#define RXWI_W3_SNR1 FIELD32(0x0000ff00)/* -* Macro's for converting txpower from EEPROM to mac80211 value +* Macros for converting txpower from EEPROM to mac80211 value * and from mac80211 value to register value. */ #define MIN_G_TXPOWER 0
drivers/net/wireless/rt2x00/rt2x00.h +2 -2
@@ -251,7 +251,7 @@ struct link_ant {struct antenna_setup active;/* -* RSSI information for the different antenna's. +* RSSI information for the different antennas. * These statistics are used to determine when * to switch antenna when using software diversity. *
@@ -640,7 +640,7 @@ struct rt2x00_dev {* The structure stored in here depends on the * system bus (PCI or USB). * When accessing this variable, the rt2x00dev_{pci,usb} -* macro's should be used for correct typecasting. +* macros should be used for correct typecasting. */ struct device *dev;
drivers/net/wireless/rt2x00/rt2x00config.c +1 -1
@@ -132,7 +132,7 @@ void rt2x00lib_config_antenna(struct rt2x00_dev *rt2x00dev,/* * Failsafe: Make sure we are not sending the * ANTENNA_SW_DIVERSITY state to the driver. -* If that happes fallback to hardware default, +* If that happens, fallback to hardware defaults, * or our own default. * The calls to rt2x00lib_config_antenna_check() * might have caused that we restore back to the already
drivers/net/wireless/rt2x00/rt2x00crypto.c +1 -1
@@ -129,7 +129,7 @@ void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc)/* Pull buffer to correct size */ skb_pull (skb, txdesc->iv_len); -/* IV/EIV data has officially be stripped */ +/* IV/EIV data has officially been stripped */ skbdesc->flags |=SKBDESC_IV_STRIPPED ; }
drivers/net/wireless/rt2x00/rt2x00link.c +1 -1
@@ -158,7 +158,7 @@ static void rt2x00lib_antenna_diversity_sample(struct rt2x00_dev *rt2x00dev)/* * During the last period we have sampled the RSSI -* from both antenna's. It now is time to determine +* from both antennas. It now is time to determine * which antenna demonstrated the best performance. * When we are already on the antenna with the best * performance, then there really is nothing for us
drivers/net/wireless/rt2x00/rt2x00mac.c +2 -2
@@ -341,7 +341,7 @@ int rt2x00mac_config(struct ieee80211_hw *hw, u32 changed)int status;/* -* Mac80211 might be calling this function while we are trying +* mac80211 might be calling this function while we are trying * to remove the device or perhaps suspending it. */ if (!test_bit (DEVICE_STATE_PRESENT , &rt2x00dev->flags))
@@ -577,7 +577,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,int update_bssid =0 ;/* -* Mac80211 might be calling this function while we are trying +* mac80211 might be calling this function while we are trying * to remove the device or perhaps suspending it. */ if (!test_bit (DEVICE_STATE_PRESENT , &rt2x00dev->flags))
drivers/net/wireless/rt2x00/rt2x00queue.h +5 -5
@@ -29,7 +29,7 @@#include <linux/prefetch.h> /** -* DOC: Entrie frame size +* DOC: Entry frame size * * Ralink PCI devices demand the Frame size to be a multiple of 128 bytes, * for USB devices this restriction does not apply, but the value of
@@ -45,13 +45,13 @@/** * DOC: Number of entries per queue * -* Under normal load without fragmentation 12 entries are sufficient +* Under normal load without fragmentation, 12 entries are sufficient * without the queue being filled up to the maximum. When using fragmentation -* and the queue threshold code we need to add some additional margins to +* and the queue threshold code, we need to add some additional margins to * make sure the queue will never (or only under extreme load) fill up * completely. -* Since we don't use preallocated DMA having a large number of queue entries -* will have only minimal impact on the memory requirements for the queue. +* Since we don't use preallocated DMA, having a large number of queue entries +* will have minimal impact on the memory requirements for the queue. */ #define RX_ENTRIES 24#define TX_ENTRIES 24
drivers/net/wireless/rt2x00/rt2x00reg.h +2 -2
@@ -176,8 +176,8 @@ struct rt2x00_field32 {#define is_valid_mask (x) is_power_of_two(1LU + (x) + low_bit_mask(x))/* -* Macro's to find first set bit in a variable. -* These macro's behaves the same as the __ffs() function with +* Macros to find first set bit in a variable. +* These macros behave the same as the __ffs() functions but * the most important difference that this is done during * compile-time rather then run-time. */
drivers/net/wireless/rt2x00/rt61pci.c +1 -1
@@ -2312,7 +2312,7 @@ static int rt61pci_init_eeprom(struct rt2x00_dev *rt2x00dev) }/* -* Determine number of antenna's. +* Determine number of antennas. */ if (rt2x00_get_field16 (eeprom,EEPROM_ANTENNA_NUM ) ==2 )__set_bit (CONFIG_DOUBLE_ANTENNA , &rt2x00dev->flags);
drivers/net/wireless/rt2x00/rt61pci.h +1 -1
@@ -1476,7 +1476,7 @@ struct hw_pairwise_ta_entry {#define RXD_W15_RESERVED FIELD32(0xffffffff)/* -* Macro's for converting txpower from EEPROM to mac80211 value +* Macros for converting txpower from EEPROM to mac80211 value * and from mac80211 value to register value. */ #define MIN_TXPOWER 0
drivers/net/wireless/rt2x00/rt73usb.h +2 -2
@@ -809,7 +809,7 @@ struct hw_pairwise_ta_entry {/* * EEPROM antenna. -* ANTENNA_NUM: Number of antenna's. +* ANTENNA_NUM: Number of antennas. * TX_DEFAULT: Default antenna 0: diversity, 1: A, 2: B. * RX_DEFAULT: Default antenna 0: diversity, 1: A, 2: B. * FRAME_TYPE: 0: DPDT , 1: SPDT , noted this bit is valid for g only.
@@ -1058,7 +1058,7 @@ struct hw_pairwise_ta_entry {#define RXD_W5_RESERVED FIELD32(0xffffffff)/* -* Macro's for converting txpower from EEPROM to mac80211 value +* Macros for converting txpower from EEPROM to mac80211 value * and from mac80211 value to register value. */ #define MIN_TXPOWER 0