diff options
-rw-r--r-- | net/wireless/nl80211.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index e521ca09d6a4..c18b2fc9d492 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -1787,6 +1787,11 @@ static int nl80211_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flag | |||
1787 | goto nla_put_failure; | 1787 | goto nla_put_failure; |
1788 | } | 1788 | } |
1789 | 1789 | ||
1790 | if (wdev->ssid_len) { | ||
1791 | if (nla_put(msg, NL80211_ATTR_SSID, wdev->ssid_len, wdev->ssid)) | ||
1792 | goto nla_put_failure; | ||
1793 | } | ||
1794 | |||
1790 | return genlmsg_end(msg, hdr); | 1795 | return genlmsg_end(msg, hdr); |
1791 | 1796 | ||
1792 | nla_put_failure: | 1797 | nla_put_failure: |