]> err.no Git - linux-2.6/commitdiff
[PATCH] libertas: fix SSID output
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 25 May 2007 15:56:37 +0000 (11:56 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:38 +0000 (14:28 -0400)
* 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>
drivers/net/wireless/libertas/scan.c

index 4e3a7b60a867ae0dc6d2e046d561312bbf9ca0c3..c2f5c946d24c18932bfc4638ee67ac2bcb4a7b51 100644 (file)
@@ -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,