diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-10-17 21:56:01 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-11-20 16:55:17 +0100 |
commit | 44905265bc155e0237c76c25bf5ddf740d85a8f2 (patch) | |
tree | 96692dbef72a177ac96ad74bd83e68b606999e9d /net/wireless/chan.c | |
parent | 34f11cd329580fe4c3e8f10081d687331fc710f3 (diff) |
nl80211: don't expose wdev->ssid for most interfaces
For mesh, this is simply wrong - there's no SSID, only the
mesh ID, so don't expose it at all.
For (P2P) client, it's wrong, because it exposes an internal
value that's only used when certain APIs are used.
For AP, it's actually the only correct case, so leave that.
All other interface types shouldn't be setting this anyway,
so there it won't change anything.
Fixes: b84e7a05f619 ("nl80211: send the NL80211_ATTR_SSID in nl80211_send_iface()")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/chan.c')
0 files changed, 0 insertions, 0 deletions