ath9k: Incorrect key used when group and pairwise ciphers are different.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Mon, 1 Sep 2008 14:15:21 +0000 (19:45 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Sep 2008 21:40:03 +0000 (17:40 -0400)
Updating sc_keytype multiple times when groupwise and pairwise
ciphers are different results in incorrect pairwise key type
assumed for TX control and normal ping fails. This works fine
for cases where both groupwise and pairwise ciphers are same.

Also use mac80211 provided enums for key length calculation.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found