linux-stable/drivers/net/wireless/marvell
Jonas Dreßler 25bbec30a2 mwifiex: Allow switching interface type from P2P_CLIENT to P2P_GO
It's possible to change virtual interface type between P2P_CLIENT and
P2P_GO, the card supports that just fine, and it happens for example
when using miracast with the miraclecast software.

So allow type changes between P2P_CLIENT and P2P_GO and simply call into
mwifiex_change_vif_to_p2p(), which handles this just fine. We have to
call mwifiex_cfg80211_deinit_p2p() before though to make sure the old
p2p mode is properly uninitialized.

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-7-verdre@v0yd.nl
2021-09-21 18:02:18 +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: Allow switching interface type from P2P_CLIENT to P2P_GO 2021-09-21 18:02:18 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mwl8k.c mwl8k: Avoid memcpy() over-reading of mcs.rx_mask 2021-06-22 18:23:54 +03:00