Search Linux Wireless

Re: [PATCH] ath9k: Remove unused key xoring

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

 



> -       key0 = get_unaligned_le32(k->kv_val + 0) ^ xorMask;
> -       key1 = (get_unaligned_le16(k->kv_val + 4) ^ xorMask) & 0xffff;
> -       key2 = get_unaligned_le32(k->kv_val + 6) ^ xorMask;
> -       key3 = (get_unaligned_le16(k->kv_val + 10) ^ xorMask) & 0xffff;
> -       key4 = get_unaligned_le32(k->kv_val + 12) ^ xorMask;
> +       key0 = get_unaligned_le32(k->kv_val + 0);
> +       key1 = get_unaligned_le16(k->kv_val + 4);
> +       key2 = get_unaligned_le32(k->kv_val + 6);
> +       key3 = get_unaligned_le16(k->kv_val + 10) & 0xffff;
> +       key4 = get_unaligned_le32(k->kv_val + 12);

key1 lost the mask but key3 kept it?

-- 
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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