Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6df3073d2923c12b6f7524917a634e83de958dfe
Commit:     6df3073d2923c12b6f7524917a634e83de958dfe
Parent:     1ac812f161801c276dd520def0e81b9938eb7761
Author:     Holger Schurig <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 11:56:37 2007 -0400
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Jun 11 14:28:38 2007 -0400

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 4e3a7b6..c2f5c94 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,
                        pBSSEntry->ssid.ssidlength = elemlen;
                        memcpy(pBSSEntry->ssid.ssid, (pcurrentptr + 2),
                               elemlen);
-                       lbs_deb_scan("ssid: %32s", pBSSEntry->ssid.ssid);
+                       lbs_deb_scan("ssid '%s'\n", pBSSEntry->ssid.ssid);
                        break;
 
                case SUPPORTED_RATES:
@@ -1565,7 +1565,7 @@ int libertas_get_scan(struct net_device *dev, struct 
iw_request_info *info,
        }
 
        if (adapter->connect_status == libertas_connected)
-               lbs_deb_scan("Current ssid: %32s\n",
+               lbs_deb_scan("current ssid '%s'\n",
                       adapter->curbssparams.ssid.ssid);
 
        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,
 
                pscantable = &adapter->scantable[i];
 
-               lbs_deb_scan("i=%d  ssid: %32s\n", i, pscantable->ssid.ssid);
+               lbs_deb_scan("i %d, ssid '%s'\n", i, pscantable->ssid.ssid);
 
                cfp =
                    libertas_find_cfp_by_band_and_channel(adapter, 0,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to