linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Mike McCormack <mikem@ring3k.org>
Cc: chaoming_li@realsil.com.cn, linville@tuxdriver.com,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/4] rtlwifi: Fix typo in variable name
Date: Fri, 17 Jun 2011 10:25:19 -0500	[thread overview]
Message-ID: <4DFB71DF.4040409@lwfinger.net> (raw)
In-Reply-To: <4DF93EC7.7050102@ring3k.org>

On 06/15/2011 06:22 PM, Mike McCormack wrote:
> offchan_deley should be offchan_delay
>
> Signed-off-by: Mike McCormack<mikem@ring3k.org>
> ---
>   drivers/net/wireless/rtlwifi/core.c |    4 ++--
>   drivers/net/wireless/rtlwifi/pci.c  |    3 +--
>   drivers/net/wireless/rtlwifi/wifi.h |    2 +-
>   3 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c
> index 605514b..3313ce6 100644
> --- a/drivers/net/wireless/rtlwifi/core.c
> +++ b/drivers/net/wireless/rtlwifi/core.c
> @@ -335,8 +335,8 @@ static int rtl_op_config(struct ieee80211_hw *hw, u32 changed)
>   		 * before going offchannel, or dis-association or delete BA will
>   		 * happen by AP
>   		 */
> -		if (rtlpriv->mac80211.offchan_deley) {
> -			rtlpriv->mac80211.offchan_deley = false;
> +		if (rtlpriv->mac80211.offchan_delay) {
> +			rtlpriv->mac80211.offchan_delay = false;
>   			mdelay(50);
>   		}
>   		rtlphy->current_channel = wide_chan;
> diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c
> index d4c2da8..4195b01 100644
> --- a/drivers/net/wireless/rtlwifi/pci.c
> +++ b/drivers/net/wireless/rtlwifi/pci.c
> @@ -581,7 +581,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int prio)
>   		fc = rtl_get_fc(skb);
>   		if (ieee80211_is_nullfunc(fc)) {
>   			if (ieee80211_has_pm(fc)) {
> -				rtlpriv->mac80211.offchan_deley = true;
> +				rtlpriv->mac80211.offchan_delay = true;
>   				rtlpriv->psc.state_inap = 1;
>   			} else {
>   				rtlpriv->psc.state_inap = 0;
> @@ -788,7 +788,6 @@ static irqreturn_t _rtl_pci_interrupt(int irq, void *dev_id)
>   {
>   	struct ieee80211_hw *hw = dev_id;
>   	struct rtl_priv *rtlpriv = rtl_priv(hw);
> -	struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));
>   	struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));
>   	unsigned long flags;
>   	u32 inta = 0;
> diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h
> index fcf2c9f..c54cda5 100644
> --- a/drivers/net/wireless/rtlwifi/wifi.h
> +++ b/drivers/net/wireless/rtlwifi/wifi.h
> @@ -938,7 +938,7 @@ struct rtl_mac {
>   	int n_channels;
>   	int n_bitrates;
>
> -	bool offchan_deley;
> +	bool offchan_delay;
>
>   	/*filters */
>   	u32 rx_conf;

ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>


      reply	other threads:[~2011-06-17 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15 23:22 [PATCH 2/4] rtlwifi: Fix typo in variable name Mike McCormack
2011-06-17 15:25 ` Larry Finger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DFB71DF.4040409@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=chaoming_li@realsil.com.cn \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mikem@ring3k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).