aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmdresp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r--drivers/net/wireless/libertas/cmdresp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
index 384fc6187d85..6e2103885959 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -68,7 +68,7 @@ void lbs_mac_event_disconnected(struct lbs_private *priv)
68 * no longer valid. 68 * no longer valid.
69 */ 69 */
70 memset(&priv->curbssparams.bssid, 0, ETH_ALEN); 70 memset(&priv->curbssparams.bssid, 0, ETH_ALEN);
71 memset(&priv->curbssparams.ssid, 0, IW_ESSID_MAX_SIZE); 71 memset(&priv->curbssparams.ssid, 0, IEEE80211_MAX_SSID_LEN);
72 priv->curbssparams.ssid_len = 0; 72 priv->curbssparams.ssid_len = 0;
73 73
74 if (priv->psstate != PS_STATE_FULL_POWER) { 74 if (priv->psstate != PS_STATE_FULL_POWER) {