diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/mac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ar9170/mac.c b/drivers/net/wireless/ath/ar9170/mac.c index 43aeb69685d3..72c7b5d8957c 100644 --- a/drivers/net/wireless/ath/ar9170/mac.c +++ b/drivers/net/wireless/ath/ar9170/mac.c | |||
@@ -398,10 +398,10 @@ int ar9170_update_beacon(struct ar9170 *ar) | |||
398 | /* XXX: use skb->cb info */ | 398 | /* XXX: use skb->cb info */ |
399 | if (ar->hw->conf.channel->band == IEEE80211_BAND_2GHZ) | 399 | if (ar->hw->conf.channel->band == IEEE80211_BAND_2GHZ) |
400 | ar9170_regwrite(AR9170_MAC_REG_BCN_PLCP, | 400 | ar9170_regwrite(AR9170_MAC_REG_BCN_PLCP, |
401 | ((skb->len + 4) << (3+16)) + 0x0400); | 401 | ((skb->len + 4) << (3 + 16)) + 0x0400); |
402 | else | 402 | else |
403 | ar9170_regwrite(AR9170_MAC_REG_BCN_PLCP, | 403 | ar9170_regwrite(AR9170_MAC_REG_BCN_PLCP, |
404 | ((skb->len + 4) << (3+16)) + 0x0400); | 404 | ((skb->len + 4) << 16) + 0x001b); |
405 | 405 | ||
406 | ar9170_regwrite(AR9170_MAC_REG_BCN_LENGTH, skb->len + 4); | 406 | ar9170_regwrite(AR9170_MAC_REG_BCN_LENGTH, skb->len + 4); |
407 | ar9170_regwrite(AR9170_MAC_REG_BCN_ADDR, AR9170_BEACON_BUFFER_ADDRESS); | 407 | ar9170_regwrite(AR9170_MAC_REG_BCN_ADDR, AR9170_BEACON_BUFFER_ADDRESS); |