Commit 7c950695 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: dont set REQ_RUN when scan finishes

The timer restart is done wrongly, we shouldn't set the REQ_RUN
bit when the scan has finished if it hadn't been set before the
scan started. If the timer fires during the scan, it will set
REQ_RUN and then we can run the work for it, if it didn't fire
then we shouldn't run its work either.
Signed-off-by: default avatarJohannes Berg <>
Signed-off-by: default avatarJohn W. Linville <>
parent a1678f84
......@@ -2598,7 +2598,8 @@ static void ieee80211_restart_sta_timer(struct ieee80211_sub_if_data *sdata)
if (sdata->vif.type == IEEE80211_IF_TYPE_STA ||
ieee80211_sta_timer((unsigned long)sdata);
void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local)
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