diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-05-25 11:56:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:38 -0400 |
commit | 6df3073d2923c12b6f7524917a634e83de958dfe (patch) | |
tree | f4f62bce169f011bea916734dd9101a93cb65af7 /drivers | |
parent | 1ac812f161801c276dd520def0e81b9938eb7761 (diff) |
[PATCH] libertas: fix SSID output
* a newline was missing
* changed %32s to '%s', no need to right justify the ESSID
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/libertas/scan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c index 4e3a7b60a867..c2f5c946d24c 100644 --- a/drivers/net/wireless/libertas/scan.c +++ b/drivers/net/wireless/libertas/scan.c | |||
@@ -1044,7 +1044,7 @@ static int InterpretBSSDescriptionWithIE(struct bss_descriptor * pBSSEntry, | |||
1044 | pBSSEntry->ssid.ssidlength = elemlen; | 1044 | pBSSEntry->ssid.ssidlength = elemlen; |
1045 | memcpy(pBSSEntry->ssid.ssid, (pcurrentptr + 2), | 1045 | memcpy(pBSSEntry->ssid.ssid, (pcurrentptr + 2), |
1046 | elemlen); | 1046 | elemlen); |
1047 | lbs_deb_scan("ssid: %32s", pBSSEntry->ssid.ssid); | 1047 | lbs_deb_scan("ssid '%s'\n", pBSSEntry->ssid.ssid); |
1048 | break; | 1048 | break; |
1049 | 1049 | ||
1050 | case SUPPORTED_RATES: | 1050 | case SUPPORTED_RATES: |
@@ -1565,7 +1565,7 @@ int libertas_get_scan(struct net_device *dev, struct iw_request_info *info, | |||
1565 | } | 1565 | } |
1566 | 1566 | ||
1567 | if (adapter->connect_status == libertas_connected) | 1567 | if (adapter->connect_status == libertas_connected) |
1568 | lbs_deb_scan("Current ssid: %32s\n", | 1568 | lbs_deb_scan("current ssid '%s'\n", |
1569 | adapter->curbssparams.ssid.ssid); | 1569 | adapter->curbssparams.ssid.ssid); |
1570 | 1570 | ||
1571 | lbs_deb_scan("Scan: Get: numinscantable = %d\n", | 1571 | lbs_deb_scan("Scan: Get: numinscantable = %d\n", |
@@ -1586,7 +1586,7 @@ int libertas_get_scan(struct net_device *dev, struct iw_request_info *info, | |||
1586 | 1586 | ||
1587 | pscantable = &adapter->scantable[i]; | 1587 | pscantable = &adapter->scantable[i]; |
1588 | 1588 | ||
1589 | lbs_deb_scan("i=%d ssid: %32s\n", i, pscantable->ssid.ssid); | 1589 | lbs_deb_scan("i %d, ssid '%s'\n", i, pscantable->ssid.ssid); |
1590 | 1590 | ||
1591 | cfp = | 1591 | cfp = |
1592 | libertas_find_cfp_by_band_and_channel(adapter, 0, | 1592 | libertas_find_cfp_by_band_and_channel(adapter, 0, |