rtlwifi: Fix typo in variable name
authorMike McCormack <mikem@ring3k.org>
Mon, 20 Jun 2011 01:44:58 +0000 (10:44 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Jun 2011 19:47:42 +0000 (15:47 -0400)
offchan_deley should be offchan_delay

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/core.c
drivers/net/wireless/rtlwifi/pci.c
drivers/net/wireless/rtlwifi/wifi.h

index 605514bdd24e774ab0d9f9e7cb9298acd91f7c98..3313ce6ffaadb014807299aed2e55d8bb6f789d5 100644 (file)
@@ -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;
index cb4e5e80c9c820336293a613c006dc7fd8de6812..ad39af462f87eee5b74ac60a531a85f445ed1ef4 100644 (file)
@@ -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;
index fcf2c9f5437d844c72f16da757b278e8d8444e7e..c54cda5ce22ada8948e16605d6ef7122c89bee04 100644 (file)
@@ -938,7 +938,7 @@ struct rtl_mac {
        int n_channels;
        int n_bitrates;
 
-       bool offchan_deley;
+       bool offchan_delay;
 
        /*filters */
        u32 rx_conf;