On Wed, 2006-06-07 at 13:12 -0500, Larry Finger wrote: > > (ie, add the "hh" before the x to tell the print that it's a char) > > > That doesn't work - the result is > > %hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx
Looks like the kernel doesn't support that modifier.
> I changed the line to cast the output byte as a u8 as follows:
>
> dprintk("%.2x", (u8)mac->wpa.IE[i]);
>
> This produces the line
>
> generic IE set to dd160050f20101000050f20201000050f20201000050f202
>
> This is the WPA IE supplied by wpa_supplicant and it matches the one used in
> the ndiswrapper case.
> One mystery solved,
Yeah good :)
> but why doesn't it work?
No idea. If we had a dump maybe we could tell :/
> Johannes - should I submit the patch to fix this printout, or would you like
> to do it?
Please do.
johannes
signature.asc
Description: This is a digitally signed message part
