diff options
author | Maithili Hinge <maithili@marvell.com> | 2014-04-14 15:32:49 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-04-22 15:06:29 -0400 |
commit | 16cf6b804d37e8a0c6e36965d3a2c661b5116141 (patch) | |
tree | e8265a1eded3be61f7faf767036f7b96c4f5cc92 /drivers/net/wireless/mwifiex/sdio.h | |
parent | 6c9ec5ebf6462d04293644259edb57926af4adea (diff) |
mwifiex: change memset to simple assignment for ht_cap.mcs.rx_mask
WARNING: single byte memset is suspicious.
Swapped 2nd/3rd argument?
This code happens to work because rx_mcs is the first variable
in mcs structure. We should use 'mcs.rx_mcs' here anyway.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Maithili Hinge <maithili@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/sdio.h')
0 files changed, 0 insertions, 0 deletions