On Thu, Apr 10, 2025 at 12:24:30 PM +0200, Sascha Hauer wrote: > In mwifiex_setup_ht_caps() first a local struct ieee80211_mcs_info > is initialized and afterwards copied over &ht_info->mcs. Simplify > this by initializing &ht_info->mcs directly. > > While at it call memset on the u8 rx_mask[] array instead of the struct > which makes the intention clearer and we no longer have to assume the > rx_mask array is the first member of struct ieee80211_mcs_info. > > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > Acked-by: Brian Norris <briannorris@xxxxxxxxxxxx> Reviewed-by: Jeff Chen <jeff.chen_1@xxxxxxx>