]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nl80211: show SSID for P2P_GO interfaces
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Mar 2022 12:46:57 +0000 (13:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 14:59:19 +0000 (16:59 +0200)
commit6861aacff9a9f40746d197cf03f3a1ac9713bb71
tree6811c34bd194a1d499bf52162a8dfc78352410a7
parentc4e427b77c6dd22f918f9c0d6ef4e38936d90f8b
nl80211: show SSID for P2P_GO interfaces

[ Upstream commit a75971bc2b8453630e9f85e0beaa4da8db8277a3 ]

There's no real reason not to send the SSID to userspace
when it requests information about P2P_GO, it is, in that
respect, exactly the same as AP interfaces. Fix that.

Fixes: 44905265bc15 ("nl80211: don't expose wdev->ssid for most interfaces")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220318134656.14354ae223f0.Ia25e85a512281b92e1645d4160766a4b1a471597@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/nl80211.c