Enable log to get host & firmware capability

Append null at the end of the string.
CRs-Fixed: 519644

Change-Id: I33f3612faa2b73c972a37b278797f34388067f05
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index 6814ae5..a2e57e8 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -1131,8 +1131,10 @@
               *pCapStr++ = ' ';
          }
      }
+     pCapStr -= 2;
+     *pCapStr = '\0';
      pCapStr = capStr;
-     WPAL_TRACE( eWLAN_MODULE_DAL_CTRL,  eWLAN_PAL_TRACE_LEVEL_ERROR, "\t\t\t%s", pCapStr);
+     WPAL_TRACE( eWLAN_MODULE_DAL_CTRL,  eWLAN_PAL_TRACE_LEVEL_ERROR, "\t\t%s", pCapStr);
 }
 
 /**