[PATCH] libertas: fix SSID output

Holger Schurig hs4233 at mail.mn-solutions.de
Sun Feb 25 14:19:09 EST 2007


> 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)

  if (is_printable(ssid))
     printk("'%s'\n", ssid);
  else
     hexdump(ssid);



More information about the libertas-dev mailing list