Commit 0951ebb8 authored by Michal Kazior's avatar Michal Kazior Committed by Johannes Berg
Browse files

mac80211: fix uninitialized variable

CSA completion could call in a driver
bss_info_changed() with a garbled `changed` flag
leading to all sorts of problems.
Signed-off-by: default avatarMichal Kazior <>
Signed-off-by: default avatarJohannes Berg <>
parent 33a45867
......@@ -2962,7 +2962,7 @@ void ieee80211_csa_finalize_work(struct work_struct *work)
container_of(work, struct ieee80211_sub_if_data,
struct ieee80211_local *local = sdata->local;
int err, changed;
int err, changed = 0;
if (!ieee80211_sdata_running(sdata))
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