nmcli output (among other items):
p2p-dev-wlp1s0: disconnected "p2p-dev-wlp1s0" wifi-p2p, hw How can I remove this p2p-dev-wlp1s0 device? It's used for wireless peer-to-peer connections but I don't need it. I tried through wpa_supplicant.conf but no difference. I think it's created by network-manager.
The system runs on Debian 12 bookworm. Perhaps on other distros with different options on the compilation of Network Manager, there may be other behaviours.