On Sat, 2009-08-01 at 19:41 -0600, Patrick Simmons wrote: > --- a/drivers/net/wireless/zd1211rw/zd_mac.c > +++ b/drivers/net/wireless/zd1211rw/zd_mac.c > @@ -694,7 +694,7 @@ > && !mac->pass_ctrl) > return 0; > > - fc = *(__le16 *)buffer; > + fc = get_unaligned(buffer); Now the code is completely incorrect -- you're now loading the lower 16 bits of the 'buffer' _pointer_ into the variable as an unaligned load. It really needs to be fc = get_unaligned((__le16 *)buffer); I think. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part