diff options
author | Ben Greear <greearb@candelatech.com> | 2014-02-04 12:51:38 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-02-04 13:42:27 -0500 |
commit | f591a1a5dc34341dce9af2efaa9e2e824ceb67be (patch) | |
tree | e1a401f3f6368f529e3c17f35f6a95113dd65699 | |
parent | 6ceb339109adf88a27b6f596c9f99a095f762659 (diff) |
ath10k: Print out firmware feature bits from IE.
Aids in understanding excactly what a firmware is
offering.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 3b59af3bddf4..56048b1bbca5 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c | |||
@@ -470,8 +470,12 @@ static int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name) | |||
470 | if (index == ie_len) | 470 | if (index == ie_len) |
471 | break; | 471 | break; |
472 | 472 | ||
473 | if (data[index] & (1 << bit)) | 473 | if (data[index] & (1 << bit)) { |
474 | ath10k_dbg(ATH10K_DBG_BOOT, | ||
475 | "Enabling feature bit: %i\n", | ||
476 | i); | ||
474 | __set_bit(i, ar->fw_features); | 477 | __set_bit(i, ar->fw_features); |
478 | } | ||
475 | } | 479 | } |
476 | 480 | ||
477 | ath10k_dbg_dump(ATH10K_DBG_BOOT, "features", "", | 481 | ath10k_dbg_dump(ATH10K_DBG_BOOT, "features", "", |