diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-11-07 06:52:19 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-07 11:57:14 -0500 |
commit | 06e191e22eb99ceeda60234502446c4c54492883 (patch) | |
tree | 1b9e2450b32120af45e3098f19252585b28b5984 /net/wireless/ap.c | |
parent | 488dd7b53de9ea41edf7a475be63da51bdd05093 (diff) |
cfg80211: store the ssid into wirless_dev in AP mode
Store the configured ssid in wdev->ssid when starting an AP
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/ap.c')
-rw-r--r-- | net/wireless/ap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/ap.c b/net/wireless/ap.c index e143505f05bc..324e8d851dc4 100644 --- a/net/wireless/ap.c +++ b/net/wireless/ap.c | |||
@@ -28,6 +28,7 @@ static int __cfg80211_stop_ap(struct cfg80211_registered_device *rdev, | |||
28 | if (!err) { | 28 | if (!err) { |
29 | wdev->beacon_interval = 0; | 29 | wdev->beacon_interval = 0; |
30 | wdev->channel = NULL; | 30 | wdev->channel = NULL; |
31 | wdev->ssid_len = 0; | ||
31 | } | 32 | } |
32 | 33 | ||
33 | return err; | 34 | return err; |