From: Kalle Valo Date: Tue, 13 Dec 2011 12:51:58 +0000 (+0200) Subject: ath6kl: fix reading of FW IE capabilities X-Git-Tag: v3.3-rc1~182^2~44^2~72^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=277d90f4ba4b7ebb35b85a5d6c58dce2f1e1b58d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed