Texot d61db96155
mtwifi: mt7615: fix multi-profile merge (#5622)
* mtwifi: mt7615: fix multi-profile merge

Currently some settings like AutoChannelSelect, CountryRegion(ABand),
HT_BW/VHT_BW are not respected. This is due to wrong multi-profile
merging when l1profile.dat is not consistent with compiling flag
DEFAULT_5G_PROFILE.

5g profile should be put before 2g profile when DEFAULT_5G_PROFILE is
set.

References:
- 099439f051/package/lean/mt/drivers/mt7615d/Makefile (L52)
- 099439f051/package/lean/mt/drivers/mt7615d/src/mt_wifi/os/linux/rt_profile.c (L211)

* mtwifi: mt7615: fix reload
2020-10-13 01:06:34 +08:00
..