aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/hw.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192cu/hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
index a903c2671b4d..270cbffcac70 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
@@ -1360,7 +1360,7 @@ static int _rtl92cu_set_media_status(struct ieee80211_hw *hw,
1360 } 1360 }
1361 rtl_write_byte(rtlpriv, (MSR), bt_msr); 1361 rtl_write_byte(rtlpriv, (MSR), bt_msr);
1362 rtlpriv->cfg->ops->led_control(hw, ledaction); 1362 rtlpriv->cfg->ops->led_control(hw, ledaction);
1363 if ((bt_msr & 0xfc) == MSR_AP) 1363 if ((bt_msr & MSR_MASK) == MSR_AP)
1364 rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x00); 1364 rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x00);
1365 else 1365 else
1366 rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x66); 1366 rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x66);