i finally have a git tree :-)

Holger Schurig hs4233 at mail.mn-solutions.de
Sun Feb 18 03:04:14 EST 2007


> @@ -61,15 +64,7 @@ static ssize_t libertas_getscantable(str
>         char *buf = (char *)addr;
>
>         pos += snprintf(buf+pos, len-pos,
> -                       "---------------------------------------");
> -       pos += snprintf(buf+pos, len-pos,
> -                       "---------------------------------------\n");
> -       pos += snprintf(buf+pos, len-pos,
>                 "# | ch  | ss  |       bssid       |   cap    |   
> TSF   | Qual | SSID \n"); -       pos += snprintf(buf+pos, len-pos,
> -               "---------------------------------------");
> -       pos += snprintf(buf+pos, len-pos,
> -               "---------------------------------------\n");
>
>
> Makes no sense to me. Why removing the header from getscantable?

The header is not removed, just the dashes. If you look at
the lines without "-" at the start, you still see

        pos += snprintf(buf+pos, len-pos,
                "# | ch  | ss  |       bssid       |   cap    |   TSF   | Qual | SSID \n");

The dashes are for humans, but not really needed. Even without
them you can easily see the table.



More information about the libertas-dev mailing list