diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-10-22 09:30:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:36 -0400 |
commit | 243e84e91ed810f7dca5ba1c2d1a611811948566 (patch) | |
tree | e9c4a62a7ed787f3d509e00954a48b85c6ef75c1 /drivers/net/wireless/libertas/cmdresp.c | |
parent | f4228b4c2e5864ee9d2051176beb2bd5a49a15cc (diff) |
libertas: change IW_ESSID_MAX_SIZE -> IEEE80211_MAX_SSID_LEN
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 2 |
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) { |