nl80211: show SSID for P2P_GO interfaces
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Mar 2022 12:46:57 +0000 (13:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Apr 2022 13:35:12 +0000 (15:35 +0200)
commita75971bc2b8453630e9f85e0beaa4da8db8277a3
treea494de8d041e9ef00fd2cb76936a5f511628c18d
parent6d945a33f2b0aa24fc210dadaa0af3e8218e7002
nl80211: show SSID for P2P_GO interfaces

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>
net/wireless/nl80211.c