summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/sdio.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-12-13 14:51:58 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2011-12-13 15:03:48 +0200
commit277d90f4ba4b7ebb35b85a5d6c58dce2f1e1b58d (patch)
tree283dbcbc7ae065b4704538bb0a868e62fdd9de1d /drivers/net/wireless/ath/ath6kl/sdio.c
parent75ae3bc48fc8f5d1e5f5fe43cd07078325a6194b (diff)
downloadlinux-277d90f4ba4b7ebb35b85a5d6c58dce2f1e1b58d.tar.bz2
ath6kl: fix reading of FW IE capabilities
For some strange reason I used ALIGN() to calculate index to the buffer. That is totally bogus and wouldn't work when it tried to read the second bit. Fix it by removing the ALIGN() altogether. Also check that ie_len is not too short. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/sdio.c')
0 files changed, 0 insertions, 0 deletions