]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: fix fw capability parsing
authorThomas Pedersen <c_tpeder@qca.qualcomm.com>
Mon, 11 Jun 2012 20:36:12 +0000 (13:36 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 14 Jun 2012 10:54:42 +0000 (13:54 +0300)
commitde08624697cda891d8395d71be6de600ee58a561
treec4897c388d140d9623e8bc6b1672787110ff6254
parent9b1e0386356302a7cd31c953074e8ae8c52b239f
ath6kl: fix fw capability parsing

This patch fixes a bug where no capabilites are parsed when the number
of firmware capability bits translate into fewer bytes than the host has
knowledge of. Instead just process number of capability bytes as
reported by the firmware.

Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/init.c