]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
iwlwifi: mvm: print the flags in ALIVE notification
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 13 Mar 2013 15:02:41 +0000 (17:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 13:17:09 +0000 (14:17 +0100)
This has valuable data about RFkill state seen from the fw
side.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c

index d43e2a57d35484cea76cba690f1a96255daeeaa9..b497647bf34bfee636b5cc9e0ad1e76212108dc8 100644 (file)
@@ -134,9 +134,10 @@ static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait,
        alive_data->scd_base_addr = le32_to_cpu(palive->scd_base_ptr);
 
        alive_data->valid = le16_to_cpu(palive->status) == IWL_ALIVE_STATUS_OK;
-       IWL_DEBUG_FW(mvm, "Alive ucode status 0x%04x revision 0x%01X 0x%01X\n",
+       IWL_DEBUG_FW(mvm,
+                    "Alive ucode status 0x%04x revision 0x%01X 0x%01X flags 0x%01X\n",
                     le16_to_cpu(palive->status), palive->ver_type,
-                    palive->ver_subtype);
+                    palive->ver_subtype, palive->flags);
 
        return true;
 }