Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 908fe113 authored by Jeff Disher's avatar Jeff Disher Committed by John W. Linville
Browse files

mwifiex: store mwifiex_ds_misc_subsc_evt in mwifiex_private



Since mwifiex_ds_misc_subsc_evt is used in an asynchronous case,
store the structure in the long-lived mwifiex_private instead of
on the calling stack.

This fixes a problem where the response of the asynchronous
operation would corrupt a stack frame potentially in use by
a different thread.

Signed-off-by: default avatarJeff Disher <disher@chromium.org>
Reviewed-by: default avatarSam Leffler <sleffler@chromium.org>
Tested-by: default avatarJeff Disher <disher@chromium.org>
Acked-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cbaa177d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment