diff options
Diffstat (limited to 'net/mac80211/wext.c')
-rw-r--r-- | net/mac80211/wext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c index c041db9556c7..34fa8ed1e784 100644 --- a/net/mac80211/wext.c +++ b/net/mac80211/wext.c | |||
@@ -444,7 +444,7 @@ static int ieee80211_ioctl_siwessid(struct net_device *dev, | |||
444 | memset(sdata->u.ap.ssid + len, 0, | 444 | memset(sdata->u.ap.ssid + len, 0, |
445 | IEEE80211_MAX_SSID_LEN - len); | 445 | IEEE80211_MAX_SSID_LEN - len); |
446 | sdata->u.ap.ssid_len = len; | 446 | sdata->u.ap.ssid_len = len; |
447 | return ieee80211_if_config(dev); | 447 | return ieee80211_if_config(sdata, IEEE80211_IFCC_SSID); |
448 | } | 448 | } |
449 | return -EOPNOTSUPP; | 449 | return -EOPNOTSUPP; |
450 | } | 450 | } |