iwlwifi: mvm: rs: improve ss_params debug print
authorEyal Shapira <eyal@wizery.com>
Mon, 2 Mar 2015 08:35:19 +0000 (10:35 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 07:57:40 +0000 (09:57 +0200)
Make the print a bit more readable.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c

index d8dacb3be10a07fe29a6c50e5c9dbb7c1a3048ab..98edb18f211afcbd8f0906badda8ac6029ea4065 100644 (file)
@@ -3373,13 +3373,13 @@ static ssize_t rs_sta_dbgfs_scale_table_read(struct file *file,
        ss_params = le32_to_cpu(lq_sta->lq.ss_params);
        desc += sprintf(buff+desc, "single stream params: %s%s%s%s\n",
                        (ss_params & LQ_SS_PARAMS_VALID) ?
-                       "VALID," : "INVALID",
+                       "VALID" : "INVALID",
                        (ss_params & LQ_SS_BFER_ALLOWED) ?
-                       "BFER," : "",
+                       ", BFER" : "",
                        (ss_params & LQ_SS_STBC_1SS_ALLOWED) ?
-                       "STBC," : "",
+                       ", STBC" : "",
                        (ss_params & LQ_SS_FORCE) ?
-                       "FORCE" : "");
+                       "FORCE" : "");
        desc += sprintf(buff+desc,
                        "Start idx [0]=0x%x [1]=0x%x [2]=0x%x [3]=0x%x\n",
                        lq_sta->lq.initial_rate_index[0],