Search Linux Wireless

Re: [PATCH] fix dynamic wep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As I said as a reply to the other mail, this is totally bogus, you
misunderstood the privacy_mismatch() return value.


> -            sdata->u.sta.key_management_enabled = !!data->value;
> +            sdata->u.sta.key_management_enabled = data->value;

This is just wrong, !! is there for a reason. I think
key_management_enabled is a smaller datatype so if data->value is large
enough you'll get 0 here for nonzero data->value without !!.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux