ath10k: Print out firmware feature bits from IE.
authorBen Greear <greearb@candelatech.com>
Tue, 4 Feb 2014 17:51:38 +0000 (19:51 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 4 Feb 2014 18:42:27 +0000 (20:42 +0200)
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>
drivers/net/wireless/ath/ath10k/core.c

index 3b59af3bddf4a6e4506f027472c41832f41c43c9..56048b1bbca5fddc4630b146f15c215b0fb5f73a 100644 (file)
@@ -470,8 +470,12 @@ static int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name)
                                if (index == ie_len)
                                        break;
 
-                               if (data[index] & (1 << bit))
+                               if (data[index] & (1 << bit)) {
+                                       ath10k_dbg(ATH10K_DBG_BOOT,
+                                                  "Enabling feature bit: %i\n",
+                                                  i);
                                        __set_bit(i, ar->fw_features);
+                               }
                        }
 
                        ath10k_dbg_dump(ATH10K_DBG_BOOT, "features", "",