Commit 15978ea3 authored by Jilin Yuan's avatar Jilin Yuan Committed by Kalle Valo

wifi: atmel: fix repeated words in comments

Delete the redundant word 'long'.
Signed-off-by: default avatarJilin Yuan <yuanjilin@cdjrlc.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220709132637.16717-1-yuanjilin@cdjrlc.com
parent 3598cb6e
...@@ -3353,7 +3353,7 @@ static void atmel_management_frame(struct atmel_private *priv, ...@@ -3353,7 +3353,7 @@ static void atmel_management_frame(struct atmel_private *priv,
priv->beacons_this_sec++; priv->beacons_this_sec++;
atmel_smooth_qual(priv); atmel_smooth_qual(priv);
if (priv->last_beacon_timestamp) { if (priv->last_beacon_timestamp) {
/* Note truncate this to 32 bits - kernel can't divide a long long */ /* Note truncate this to 32 bits - kernel can't divide a long */
u32 beacon_delay = timestamp - priv->last_beacon_timestamp; u32 beacon_delay = timestamp - priv->last_beacon_timestamp;
int beacons = beacon_delay / (beacon_interval * 1000); int beacons = beacon_delay / (beacon_interval * 1000);
if (beacons > 1) if (beacons > 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment