diff options
author | Mike McCormack <mikem@ring3k.org> | 2011-06-19 21:44:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-20 15:47:42 -0400 |
commit | 9c0504403725ca77153a0bdad2f3bef0a05e32f0 (patch) | |
tree | f1ba30242767fa85901fb5f7b73e0ca4669a81d1 /drivers/net | |
parent | 440ca98fe8407808a9ad8e934f6e28408f546313 (diff) |
rtlwifi: Fix typo in variable name
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rtlwifi/core.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/wifi.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c index 605514bdd24e..3313ce6ffaad 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) | |||
335 | * before going offchannel, or dis-association or delete BA will | 335 | * before going offchannel, or dis-association or delete BA will |
336 | * happen by AP | 336 | * happen by AP |
337 | */ | 337 | */ |
338 | if (rtlpriv->mac80211.offchan_deley) { | 338 | if (rtlpriv->mac80211.offchan_delay) { |
339 | rtlpriv->mac80211.offchan_deley = false; | 339 | rtlpriv->mac80211.offchan_delay = false; |
340 | mdelay(50); | 340 | mdelay(50); |
341 | } | 341 | } |
342 | rtlphy->current_channel = wide_chan; | 342 | rtlphy->current_channel = wide_chan; |
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index cb4e5e80c9c8..ad39af462f87 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) | |||
581 | fc = rtl_get_fc(skb); | 581 | fc = rtl_get_fc(skb); |
582 | if (ieee80211_is_nullfunc(fc)) { | 582 | if (ieee80211_is_nullfunc(fc)) { |
583 | if (ieee80211_has_pm(fc)) { | 583 | if (ieee80211_has_pm(fc)) { |
584 | rtlpriv->mac80211.offchan_deley = true; | 584 | rtlpriv->mac80211.offchan_delay = true; |
585 | rtlpriv->psc.state_inap = 1; | 585 | rtlpriv->psc.state_inap = 1; |
586 | } else { | 586 | } else { |
587 | rtlpriv->psc.state_inap = 0; | 587 | rtlpriv->psc.state_inap = 0; |
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h index fcf2c9f5437d..c54cda5ce22a 100644 --- a/drivers/net/wireless/rtlwifi/wifi.h +++ b/drivers/net/wireless/rtlwifi/wifi.h | |||
@@ -938,7 +938,7 @@ struct rtl_mac { | |||
938 | int n_channels; | 938 | int n_channels; |
939 | int n_bitrates; | 939 | int n_bitrates; |
940 | 940 | ||
941 | bool offchan_deley; | 941 | bool offchan_delay; |
942 | 942 | ||
943 | /*filters */ | 943 | /*filters */ |
944 | u32 rx_conf; | 944 | u32 rx_conf; |