mwifiex: change memset to simple assignment for ht_cap.mcs.rx_mask
authorMaithili Hinge <maithili@marvell.com>
Mon, 14 Apr 2014 22:32:49 +0000 (15:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 19:06:29 +0000 (15:06 -0400)
commit16cf6b804d37e8a0c6e36965d3a2c661b5116141
treee8265a1eded3be61f7faf767036f7b96c4f5cc92
parent6c9ec5ebf6462d04293644259edb57926af4adea
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>
drivers/net/wireless/mwifiex/uap_cmd.c