commit | 1eb54c8a0fa0061247f3bd327b320c3e20c97340 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Nov 07 19:31:47 2011 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Nov 09 16:14:13 2011 -0500 |
tree | 497dd62c738b42682bce13cf8e2931a0f2aebcdc | |
parent | 7d7ab02204ae2af26944ccd8a4c599756bdf0fc3 [diff] |
mwifiex: prevent corruption instead of just warning Probably we never hit this condition, but in case we do, we may as well put a return here instead of just printing a warning message and then corrupting memory. The caller doesn't check the return code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>