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>
This commit is contained in:
parent
440ca98fe8
commit
9c05044037
3 changed files with 4 additions and 4 deletions
|
@ -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
|
* before going offchannel, or dis-association or delete BA will
|
||||||
* happen by AP
|
* happen by AP
|
||||||
*/
|
*/
|
||||||
if (rtlpriv->mac80211.offchan_deley) {
|
if (rtlpriv->mac80211.offchan_delay) {
|
||||||
rtlpriv->mac80211.offchan_deley = false;
|
rtlpriv->mac80211.offchan_delay = false;
|
||||||
mdelay(50);
|
mdelay(50);
|
||||||
}
|
}
|
||||||
rtlphy->current_channel = wide_chan;
|
rtlphy->current_channel = wide_chan;
|
||||||
|
|
|
@ -581,7 +581,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int prio)
|
||||||
fc = rtl_get_fc(skb);
|
fc = rtl_get_fc(skb);
|
||||||
if (ieee80211_is_nullfunc(fc)) {
|
if (ieee80211_is_nullfunc(fc)) {
|
||||||
if (ieee80211_has_pm(fc)) {
|
if (ieee80211_has_pm(fc)) {
|
||||||
rtlpriv->mac80211.offchan_deley = true;
|
rtlpriv->mac80211.offchan_delay = true;
|
||||||
rtlpriv->psc.state_inap = 1;
|
rtlpriv->psc.state_inap = 1;
|
||||||
} else {
|
} else {
|
||||||
rtlpriv->psc.state_inap = 0;
|
rtlpriv->psc.state_inap = 0;
|
||||||
|
|
|
@ -938,7 +938,7 @@ struct rtl_mac {
|
||||||
int n_channels;
|
int n_channels;
|
||||||
int n_bitrates;
|
int n_bitrates;
|
||||||
|
|
||||||
bool offchan_deley;
|
bool offchan_delay;
|
||||||
|
|
||||||
/*filters */
|
/*filters */
|
||||||
u32 rx_conf;
|
u32 rx_conf;
|
||||||
|
|
Loading…
Add table
Reference in a new issue