Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ccb5d7c authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Greg Kroah-Hartman
Browse files

staging: Fix typos in rt2860



Here is a patch that fixes some typos, and comments in  drivers/staging/rt2860

Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1ac58644
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@

    Revision History:
    Who          	When            What
    Justin P. Mattock	11/07/2010	Fix some typos
    ---------    ----------    ----------------------------------------------
 */

@@ -45,7 +46,7 @@

/* */
/* Device ID & Vendor ID related definitions, */
/* NOTE: you should not add the new VendorID/DeviceID here unless you not sure it belongs to what chip. */
/* NOTE: you should not add the new VendorID/DeviceID here unless you know for sure what chip it belongs too. */
/* */
#define NIC_PCI_VENDOR_ID		0x1814
#define PCIBUS_INTEL_VENDOR	0x8086
+3 −2
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@

    Revision History:
    Who          	When            What
    Justin P. Mattock	11/07/2010	Fix a typo
    ---------    ----------    ----------------------------------------------
 */

+10 −9
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@

	Revision History:
	Who			When		  What
	Justin P. Mattock	11/07/2010	  Fix a comments, and typos
	--------	----------	  ----------------------------------------------
*/

@@ -43,7 +44,7 @@
/* ================================================================================= */

/* the first 24-byte in TXD is called TXINFO and will be DMAed to MAC block through TXFIFO. */
/* MAC block use this TXINFO to control the transmission behavior of this frame. */
/* MAC block uses this TXINFO to control the transmission behavior of this frame. */
#define FIFO_MGMT                 0
#define FIFO_HCCA                 1
#define FIFO_EDCA                 2
@@ -623,7 +624,7 @@ typedef union PACKED _TX_RTY_CFG_STRUC {
	struct {
		u32 ShortRtyLimit:8;	/* short retry limit */
		u32 LongRtyLimit:8;	/* long retry limit */
		u32 LongRtyThre:12;	/* Long retry threshoold */
		u32 LongRtyThre:12;	/* Long retry threshold */
		u32 NonAggRtyMode:1;	/* Non-Aggregate MPDU retry mode.  0:expired by retry limit, 1: expired by mpdu life timer */
		u32 AggRtyMode:1;	/* Aggregate MPDU retry mode.  0:expired by retry limit, 1: expired by mpdu life timer */
		u32 TxautoFBEnable:1;	/* Tx retry PHY rate auto fallback enable */
+3 −2
Original line number Diff line number Diff line
@@ -28,10 +28,11 @@
	rt3090.c

	Abstract:
	Specific funcitons and variables for RT3070
	Specific functions and variables for RT3070

	Revision History:
	Who         		When            What
	Justin P. Mattock	11/07/2010	Fix a typo
	--------    ----------    ----------------------------------------------
*/

+5 −4
Original line number Diff line number Diff line
@@ -28,10 +28,11 @@
	rt30xx.c

	Abstract:
	Specific funcitons and variables for RT30xx.
	Specific functions and variables for RT30xx.

	Revision History:
	Who         		When            What
	Justin P. Mattock	11/07/2010	Fix some typos
	--------    ----------    ----------------------------------------------
*/

@@ -89,7 +90,7 @@ struct rt_reg_pair RT30xx_RFRegTable[] = {

u8 NUM_RF_REG_PARMS = (sizeof(RT30xx_RFRegTable) / sizeof(struct rt_reg_pair));

/* Antenna divesity use GPIO3 and EESK pin for control */
/* Antenna diversity use GPIO3 and EESK pin for control */
/* Antenna and EEPROM access are both using EESK pin, */
/* Therefor we should avoid accessing EESK at the same time */
/* Then restore antenna after EEPROM access */
@@ -243,7 +244,7 @@ void RTMPFilterCalibration(struct rt_rtmp_adapter *pAd)
				break;
			}

			/* prevent infinite loop cause driver hang. */
			/* prevent infinite loop; causes driver hang. */
			if (loopcnt++ > 100) {
				DBGPRINT(RT_DEBUG_ERROR,
					 ("RTMPFilterCalibration - can't find a valid value, loopcnt=%d stop calibrating",
Loading