commit | ba852018d493c99d3183fdcc7e41b725f2ec1321 | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Mon Aug 08 09:38:48 2016 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Sat Sep 03 13:04:22 2016 +0300 |
tree | 617920628a7c615640febfba0cec913e4b1c3f1e | |
parent | f898005ff99f348febba88dff8840df6e4367758 [diff] |
mwifiex: fix the length parameter of a memset In 'mwifiex_get_ver_ext', we have: struct mwifiex_ver_ext ver_ext; memset(&ver_ext, 0, sizeof(struct host_cmd_ds_version_ext)); This is likely that memset'ing sizeof(struct mwifiex_ver_ext) was expected. Remove the ambiguity by using the variable name directly instead of its type. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>