aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/wext.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r--drivers/net/wireless/libertas/wext.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c
index f07ba0b6c5f1..71f88a08e090 100644
--- a/drivers/net/wireless/libertas/wext.c
+++ b/drivers/net/wireless/libertas/wext.c
@@ -2031,10 +2031,8 @@ static int lbs_get_essid(struct net_device *dev, struct iw_request_info *info,
2031 if (priv->connect_status == LBS_CONNECTED) { 2031 if (priv->connect_status == LBS_CONNECTED) {
2032 memcpy(extra, priv->curbssparams.ssid, 2032 memcpy(extra, priv->curbssparams.ssid,
2033 priv->curbssparams.ssid_len); 2033 priv->curbssparams.ssid_len);
2034 extra[priv->curbssparams.ssid_len] = '\0';
2035 } else { 2034 } else {
2036 memset(extra, 0, 32); 2035 memset(extra, 0, 32);
2037 extra[priv->curbssparams.ssid_len] = '\0';
2038 } 2036 }
2039 /* 2037 /*
2040 * If none, we may want to get the one that was set 2038 * If none, we may want to get the one that was set