Closed GustavoARSilva closed 1 year ago
drivers/net/wireless/marvell/mwifiex/fw.h:
795 struct mwifiex_ie_types_rates_param_set { 796 struct mwifiex_ie_types_header header; 797 u8 rates[1]; 798 } __packed;
Also, worth noting is that this fake flex-array is currently being used as argument in calls to memcpy():
drivers/net/wireless/marvell/mwifiex/join.c memcpy(rates_tlv->rates, rates, rates_size);
drivers/net/wireless/marvell/mwifiex/scan.c: memcpy(rates_tlv->rates, rates, rates_size);
In mainline now.
drivers/net/wireless/marvell/mwifiex/fw.h:
Also, worth noting is that this fake flex-array is currently being used as argument in calls to memcpy():