diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-03-25 19:01:18 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-27 14:20:06 -0400 |
commit | f5e8560ee0f10e7daf4bc16caf7c50bb30fced9c (patch) | |
tree | 441ae72e75e2b5b28b517692b58f0743b80d21db /drivers/net/wireless/mwifiex/cmdevt.c | |
parent | 87b7e9e2f6fe7e6b401443b3dd4b64815bcaa15c (diff) |
mwifiex: corner case NULL pointer dereference fix
When next scan command is delayed due to Tx traffic and
meanwhile synchronous command is received followed by a signal,
we cance all pending commands. NULL pointer dereference is seen
in this case while queueing next command in scan delay timer.
This patch adds a check to fix this issue.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/cmdevt.c')
0 files changed, 0 insertions, 0 deletions