]> git.baikalelectronics.ru Git - 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)
commitc5c84fc9c4995d0ba68f9b669a268771fb8665b0
tree45deb6e360d87d793f77701aec84fc0f8aa6515d
parentd2a7b15995ce2fe34868a6e4f4b6eef2d0b5e135
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