diff options
author | David S. Miller <davem@davemloft.net> | 2009-12-23 23:09:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-23 23:09:17 +0100 |
commit | b4de921ae6f7bb211868be4f7d56e80ac6da676c (patch) | |
tree | d0d740c43519d0e2b290f1499f82e2c03d6520a6 /drivers/net/wireless/libertas | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 (diff) | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-b4de921ae6f7bb211868be4f7d56e80ac6da676c.tar.xz linux-b4de921ae6f7bb211868be4f7d56e80ac6da676c.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index a8eb9e1fcf36..4b1aab593a84 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c @@ -2025,10 +2025,8 @@ static int lbs_get_essid(struct net_device *dev, struct iw_request_info *info, if (priv->connect_status == LBS_CONNECTED) { memcpy(extra, priv->curbssparams.ssid, priv->curbssparams.ssid_len); - extra[priv->curbssparams.ssid_len] = '\0'; } else { memset(extra, 0, 32); - extra[priv->curbssparams.ssid_len] = '\0'; } /* * If none, we may want to get the one that was set |