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)
commitc85251f8562095cd6fd63ae786354283c5318303
treec4897c388d140d9623e8bc6b1672787110ff6254
parentb5b6f6a9a07ac230d54a85a9fb9e691c85f2eb0a
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