]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath6kl: Fix key configuration to copy at most seq_len from seq
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 2 Nov 2011 21:45:55 +0000 (23:45 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:59:59 +0000 (12:59 +0200)
commitf4bb9a6fbc1f49058fc9eb6dcb4a3022d99013b4
tree45deb6e360d87d793f77701aec84fc0f8aa6515d
parent1ddc3377e1f43b0bd62c7042cb2032824ebfb663
ath6kl: Fix key configuration to copy at most seq_len from seq

There is no guarantee on the caller using 8-octet buffer for
key->seq, so better follow the key->seq_len parameter on figuring
out how many octets to copy.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/wmi.c
drivers/net/wireless/ath/ath6kl/wmi.h