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

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

staging: rtl8712: Fix typos.

parent a5011a26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ struct dvobj_priv {
/**
 * struct _adapter - the main adapter structure for this device.
 *
 * bup: True indicates that the interface is Up.
 * bup: True indicates that the interface is up.
 */
struct _adapter {
	struct	dvobj_priv dvobjpriv;
+1 −1
Original line number Diff line number Diff line
@@ -705,7 +705,7 @@ enum ieee80211_state {
	IEEE80211_ASSOCIATING_RETRY,
	/* the association procedure is sending AUTH request*/
	IEEE80211_ASSOCIATING_AUTHENTICATING,
	/* the association procedure has successfully authentcated
	/* the association procedure has successfully authenticated
	 * and is sending association request
	 */
	IEEE80211_ASSOCIATING_AUTHENTICATED,
+2 −2
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ static int lbkmode = RTL8712_AIR_TRX;
static int hci = RTL8712_USB;
static int ampdu_enable = 1;/*for enable tx_ampdu*/

/* The video_mode variable is for vedio mode.*/
/* The video_mode variable is for video mode.*/
/* It may be specify when inserting module with video_mode=1 parameter.*/
static int video_mode = 1;   /* enable video mode*/

@@ -248,7 +248,7 @@ static u32 start_drv_threads(struct _adapter *padapter)

void r8712_stop_drv_threads(struct _adapter *padapter)
{
	/*Below is to termindate r8712_cmd_thread & event_thread...*/
	/*Below is to terminate r8712_cmd_thread & event_thread...*/
	up(&padapter->cmdpriv.cmd_queue_sema);
	if (padapter->cmdThread)
		_down_sema(&padapter->cmdpriv.terminate_cmdthread_sema);
+3 −3
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ static void check_hw_pbc(struct _adapter *padapter)
		 * After trigger PBC, the variable will be set to false */
		DBG_8712("CheckPbcGPIO - PBC is pressed !!!!\n");
		/* 0 is the default value and it means the application monitors
		 * the HW PBC doesn't privde its pid to driver. */
		 * the HW PBC doesn't provide its pid to driver. */
		if (padapter->pid == 0)
			return;
		kill_pid(find_vpid(padapter->pid), SIGUSR1, 1);
@@ -382,7 +382,7 @@ _next:
			*pcmdbuf = cpu_to_le32((cmdsz & 0x0000ffff) |
					       (pcmd->cmdcode << 16) |
					       (pcmdpriv->cmd_seq << 24));
			pcmdbuf += 2 ; /* 8 bytes aligment */
			pcmdbuf += 2 ; /* 8 bytes alignment */
			memcpy((u8 *)pcmdbuf, pcmd->parmbuf, pcmd->cmdsz);
			while (check_cmd_fifo(padapter, wr_sz) == _FAIL) {
				if ((padapter->bDriverStopped == true) ||
@@ -471,7 +471,7 @@ void r8712_event_handle(struct _adapter *padapter, uint *peventbuf)
	pevt_priv->event_seq++;	/* update evt_seq */
	if (pevt_priv->event_seq > 127)
		pevt_priv->event_seq = 0;
	peventbuf = peventbuf + 2; /* move to event content, 8 bytes aligment */
	peventbuf = peventbuf + 2; /* move to event content, 8 bytes alignment */
	if (peventbuf) {
		event_callback = wlanevents[evt_code].event_callback;
		if (event_callback)
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ enum rtl8712_h2c_cmd {
	GEN_CMD_CODE(_GetCurDataRate) ,

	GEN_CMD_CODE(_GetTxRetrycnt),  /* to record times that Tx retry to
					* transmmit packet after association
					* transmit packet after association
					*/
	GEN_CMD_CODE(_GetRxRetrycnt),  /* to record total number of the
					* received frame with ReTry bit set in
Loading