linux/drivers/net/wireless/marvell
Jonas Dreßler c2e9666cdf mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
We currently handle changing from the P2P to the STATION virtual
interface type slightly different than changing from P2P to ADHOC: When
changing to STATION, we don't send the SET_BSS_MODE command. We do send
that command on all other type-changes though, and it probably makes
sense to send the command since after all we just changed our BSS_MODE.
Looking at prior changes to this part of the code, it seems that this is
simply a leftover from old refactorings.

Since sending the SET_BSS_MODE command is the only difference between
mwifiex_change_vif_to_sta_adhoc() and the current code, we can now use
mwifiex_change_vif_to_sta_adhoc() for both switching to ADHOC and
STATION interface type.

This does not fix any particular bug and just "looked right", so there's
a small chance it might be a regression.

Signed-off-by: Jonas Dreßler <verdre@v0yd.nl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210914195909.36035-4-verdre@v0yd.nl
2021-09-21 18:02:17 +03:00
..
libertas libertas: Remove unnecessary label of lbs_ethtool_get_eeprom 2021-08-01 13:28:55 +03:00
libertas_tf libertas_tf: Fix wrong function name in comments 2021-06-15 16:10:45 +03:00
mwifiex mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type 2021-09-21 18:02:17 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
mwl8k.c mwl8k: Avoid memcpy() over-reading of mcs.rx_mask 2021-06-22 18:23:54 +03:00