projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a4586
)
mac80211: fix uninitialized variable
author
Michal Kazior
<michal.kazior@tieto.com>
Fri, 18 Oct 2013 21:57:00 +0000
(14:57 -0700)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 28 Oct 2013 14:05:31 +0000
(15:05 +0100)
CSA completion could call in a driver
bss_info_changed() with a garbled `changed` flag
leading to all sorts of problems.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/cfg.c
b/net/mac80211/cfg.c
index 5b1ccb4e027135477be1b01ba6529f323bb651ec..ed1e9a84fab8fd71395f2b86d76c1081a6b4119d 100644
(file)
--- a/
net/mac80211/cfg.c
+++ b/
net/mac80211/cfg.c
@@
-2962,7
+2962,7
@@
void ieee80211_csa_finalize_work(struct work_struct *work)
container_of(work, struct ieee80211_sub_if_data,
csa_finalize_work);
struct ieee80211_local *local = sdata->local;
- int err, changed;
+ int err, changed
= 0
;
if (!ieee80211_sdata_running(sdata))
return;