diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-09-30 20:59:05 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:50 -0400 |
commit | 9387b7caf3049168fc97a8a9111af8fe2143af18 (patch) | |
tree | 6a19e5477d6a6badf19788536a9d3e1913ae48e1 /drivers/net/wireless/libertas/wext.c | |
parent | 2819f8ad6da1e24b5dd94a221978e61f2a9c972a (diff) |
wireless: use individual buffers for printing ssid values
Also change escape_ssid to print_ssid to match print_mac semantics.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 247579951858..d4c6a659b562 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -1978,6 +1978,7 @@ static int lbs_set_essid(struct net_device *dev, struct iw_request_info *info, | |||
1978 | u8 ssid_len = 0; | 1978 | u8 ssid_len = 0; |
1979 | struct assoc_request * assoc_req; | 1979 | struct assoc_request * assoc_req; |
1980 | int in_ssid_len = dwrq->length; | 1980 | int in_ssid_len = dwrq->length; |
1981 | DECLARE_SSID_BUF(ssid_buf); | ||
1981 | 1982 | ||
1982 | lbs_deb_enter(LBS_DEB_WEXT); | 1983 | lbs_deb_enter(LBS_DEB_WEXT); |
1983 | 1984 | ||
@@ -2006,7 +2007,7 @@ static int lbs_set_essid(struct net_device *dev, struct iw_request_info *info, | |||
2006 | lbs_deb_wext("requested any SSID\n"); | 2007 | lbs_deb_wext("requested any SSID\n"); |
2007 | } else { | 2008 | } else { |
2008 | lbs_deb_wext("requested SSID '%s'\n", | 2009 | lbs_deb_wext("requested SSID '%s'\n", |
2009 | escape_ssid(ssid, ssid_len)); | 2010 | print_ssid(ssid_buf, ssid, ssid_len)); |
2010 | } | 2011 | } |
2011 | 2012 | ||
2012 | out: | 2013 | out: |