diff options
author | Jeff Disher <disher@chromium.org> | 2012-08-31 05:20:55 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-07 23:03:44 +0400 |
commit | 908fe11314be4744fb303179a1c46b22dcdc5b87 (patch) | |
tree | 98f7f7fa1270e08a3454919448918f78a71d7807 /drivers/net/wireless/rtlwifi/wifi.h | |
parent | cbaa177d2b2f9364c7b9250d8ced75fae326c052 (diff) | |
download | linux-908fe11314be4744fb303179a1c46b22dcdc5b87.tar.xz |
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: Jeff Disher <disher@chromium.org>
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Tested-by: Jeff Disher <disher@chromium.org>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
0 files changed, 0 insertions, 0 deletions