commit | 16cf6b804d37e8a0c6e36965d3a2c661b5116141 | [log] [tgz] |
---|---|---|
author | Maithili Hinge <maithili@marvell.com> | Mon Apr 14 15:32:49 2014 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Apr 22 15:06:29 2014 -0400 |
tree | e8265a1eded3be61f7faf767036f7b96c4f5cc92 | |
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>