Commit 3049000b authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: fix CSA handling timer

The time until the channel switch is in TU,
not in milliseconds, so use TU_TO_EXP_TIME()
to correctly program the timer.

Signed-off-by: default avatarJohannes Berg <>
parent 57eebdf3
......@@ -813,8 +813,7 @@ void ieee80211_sta_process_chanswitch(struct ieee80211_sub_if_data *sdata,
ieee80211_queue_work(&sdata->local->hw, &ifmgd->chswitch_work);
jiffies +
msecs_to_jiffies(sw_elem->count *
TU_TO_EXP_TIME(sw_elem->count *
Supports Markdown
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