diff options
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index b6d83f6888fa..706a445dba37 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -3103,11 +3103,11 @@ void mwl8k_update_survey(struct mwl8k_priv *priv, | |||
3103 | 3103 | ||
3104 | survey = &priv->survey[idx]; | 3104 | survey = &priv->survey[idx]; |
3105 | 3105 | ||
3106 | cca_cnt = le32_to_cpu(ioread32(priv->regs + NOK_CCA_CNT_REG)); | 3106 | cca_cnt = ioread32(priv->regs + NOK_CCA_CNT_REG); |
3107 | cca_cnt /= 1000; /* uSecs to mSecs */ | 3107 | cca_cnt /= 1000; /* uSecs to mSecs */ |
3108 | survey->channel_time_busy = (u64) cca_cnt; | 3108 | survey->channel_time_busy = (u64) cca_cnt; |
3109 | 3109 | ||
3110 | rx_rdy = le32_to_cpu(ioread32(priv->regs + BBU_RXRDY_CNT_REG)); | 3110 | rx_rdy = ioread32(priv->regs + BBU_RXRDY_CNT_REG); |
3111 | rx_rdy /= 1000; /* uSecs to mSecs */ | 3111 | rx_rdy /= 1000; /* uSecs to mSecs */ |
3112 | survey->channel_time_rx = (u64) rx_rdy; | 3112 | survey->channel_time_rx = (u64) rx_rdy; |
3113 | 3113 | ||