diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2014-03-26 16:03:17 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-27 14:20:09 -0400 |
commit | 833d15ad01acf14f4c0c8815525eda6a162cb137 (patch) | |
tree | cb3922d9ce0aae8627a3027b4dd8ad9adabde1f2 /drivers/net/wireless/rtl818x | |
parent | 355668d23a99acb45fefd7aeee8e0881e953e432 (diff) |
rtl8180: make sure RTL818X_MSR_ENEDCA is set for rtl8187se
MSR register for rtl8187se must always have ENEDCA flag set.
Write it accordingly when updated on BSS change.
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8180/dev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180/dev.c b/drivers/net/wireless/rtl818x/rtl8180/dev.c index 6f9da01a9096..eb678dae1653 100644 --- a/drivers/net/wireless/rtl818x/rtl8180/dev.c +++ b/drivers/net/wireless/rtl818x/rtl8180/dev.c | |||
@@ -1373,6 +1373,10 @@ static void rtl8180_bss_info_changed(struct ieee80211_hw *dev, | |||
1373 | reg = RTL818X_MSR_INFRA; | 1373 | reg = RTL818X_MSR_INFRA; |
1374 | } else | 1374 | } else |
1375 | reg = RTL818X_MSR_NO_LINK; | 1375 | reg = RTL818X_MSR_NO_LINK; |
1376 | |||
1377 | if (priv->chip_family == RTL818X_CHIP_FAMILY_RTL8187SE) | ||
1378 | reg |= RTL818X_MSR_ENEDCA; | ||
1379 | |||
1376 | rtl818x_iowrite8(priv, &priv->map->MSR, reg); | 1380 | rtl818x_iowrite8(priv, &priv->map->MSR, reg); |
1377 | } | 1381 | } |
1378 | 1382 | ||