diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 3868e987438d..c40c9e706e98 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -385,7 +385,7 @@ static void rt2500usb_config_intf(struct rt2x00_dev *rt2x00dev, | |||
385 | /* | 385 | /* |
386 | * Enable beacon config | 386 | * Enable beacon config |
387 | */ | 387 | */ |
388 | bcn_preload = PREAMBLE + get_duration(IEEE80211_HEADER, 20); | 388 | bcn_preload = PREAMBLE + GET_DURATION(IEEE80211_HEADER, 20); |
389 | rt2500usb_register_read(rt2x00dev, TXRX_CSR20, ®); | 389 | rt2500usb_register_read(rt2x00dev, TXRX_CSR20, ®); |
390 | rt2x00_set_field16(®, TXRX_CSR20_OFFSET, bcn_preload >> 6); | 390 | rt2x00_set_field16(®, TXRX_CSR20_OFFSET, bcn_preload >> 6); |
391 | rt2x00_set_field16(®, TXRX_CSR20_BCN_EXPECT_WINDOW, | 391 | rt2x00_set_field16(®, TXRX_CSR20_BCN_EXPECT_WINDOW, |