[PATCH] libertas: fix SSID output

Dan Williams dcbw at redhat.com
Sun Feb 25 19:53:49 EST 2007


On Sun, 2007-02-25 at 20:19 +0100, Holger Schurig wrote:
> > Hmm; would be nice to actually print this out as hex, not a string,
> > since an SSID is just an array of 32 bytes with no restrictions.  You
> > can even have SSIDs with all zeros, which is perfectly valid and is how
> > Cisco used to implement SSID-hiding.  But anyway, this patch doesn't
> > regress so it's not a problem.
> 
> Hmm, I think I saw somewhere something like this logic (pseudocode)

Yeah, that's probably the best thing to do.

dan

>   if (is_printable(ssid))
>      printk("'%s'\n", ssid);
>   else
>      hexdump(ssid);
> 
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev




More information about the libertas-dev mailing list