aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index 4ecacea677ac..76b8783c5639 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -2016,8 +2016,7 @@ static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev)
2016 2016
2017 rt2800_register_read(rt2x00dev, MM40_PROT_CFG, &reg); 2017 rt2800_register_read(rt2x00dev, MM40_PROT_CFG, &reg);
2018 rt2x00_set_field32(&reg, MM40_PROT_CFG_PROTECT_RATE, 0x4084); 2018 rt2x00_set_field32(&reg, MM40_PROT_CFG_PROTECT_RATE, 0x4084);
2019 rt2x00_set_field32(&reg, MM40_PROT_CFG_PROTECT_CTRL, 2019 rt2x00_set_field32(&reg, MM40_PROT_CFG_PROTECT_CTRL, 0);
2020 !rt2x00_is_usb(rt2x00dev));
2021 rt2x00_set_field32(&reg, MM40_PROT_CFG_PROTECT_NAV, 1); 2020 rt2x00_set_field32(&reg, MM40_PROT_CFG_PROTECT_NAV, 1);
2022 rt2x00_set_field32(&reg, MM40_PROT_CFG_TX_OP_ALLOW_CCK, 1); 2021 rt2x00_set_field32(&reg, MM40_PROT_CFG_TX_OP_ALLOW_CCK, 1);
2023 rt2x00_set_field32(&reg, MM40_PROT_CFG_TX_OP_ALLOW_OFDM, 1); 2022 rt2x00_set_field32(&reg, MM40_PROT_CFG_TX_OP_ALLOW_OFDM, 1);