diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index a8bf5c432858..49b29ff90c47 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -956,7 +956,7 @@ static void rt61pci_config_ps(struct rt2x00_dev *rt2x00dev, | |||
956 | if (state == STATE_SLEEP) { | 956 | if (state == STATE_SLEEP) { |
957 | rt2x00pci_register_read(rt2x00dev, MAC_CSR11, ®); | 957 | rt2x00pci_register_read(rt2x00dev, MAC_CSR11, ®); |
958 | rt2x00_set_field32(®, MAC_CSR11_DELAY_AFTER_TBCN, | 958 | rt2x00_set_field32(®, MAC_CSR11_DELAY_AFTER_TBCN, |
959 | libconf->conf->beacon_int - 10); | 959 | rt2x00dev->beacon_int - 10); |
960 | rt2x00_set_field32(®, MAC_CSR11_TBCN_BEFORE_WAKEUP, | 960 | rt2x00_set_field32(®, MAC_CSR11_TBCN_BEFORE_WAKEUP, |
961 | libconf->conf->listen_interval - 1); | 961 | libconf->conf->listen_interval - 1); |
962 | rt2x00_set_field32(®, MAC_CSR11_WAKEUP_LATENCY, 5); | 962 | rt2x00_set_field32(®, MAC_CSR11_WAKEUP_LATENCY, 5); |