ath6kl: Fix possible unaligned memory access in ath6kl_get_rsn_capab()
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Tue, 10 Apr 2012 08:05:47 +0000 (13:35 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Apr 2012 07:35:03 +0000 (10:35 +0300)
commit798985c688722479191f6d6f4e5ab1a473904f0a
tree7945cf0dc64e78a8d53074f7cba4fe6939535057
parentc4f7863eae6f580a0373cbd8dc2731d082570e69
ath6kl: Fix possible unaligned memory access in ath6kl_get_rsn_capab()

alignment is not taken care in accessing pairwise cipher and AKM suite
count which are parsed from rsn ie. Fix this alignment issue.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c