wlan: HDD layer logging enhancement.

Added logs which should get printed when some unexpected error
happens.In this gerrit updating wlan_hdd_p2p.c, wlan_hdd_scan.c
and wlan_hdd_tdls.c files.

Change-Id: Ia6bf10aeaea942a631060763acae79b0a25ad144
CRs-Fixed: 762563
diff --git a/CORE/HDD/src/wlan_hdd_scan.c b/CORE/HDD/src/wlan_hdd_scan.c
index dfd6e9e..3ab3a12 100644
--- a/CORE/HDD/src/wlan_hdd_scan.c
+++ b/CORE/HDD/src/wlan_hdd_scan.c
@@ -237,7 +237,7 @@
    {
       /* no space to add event */
       /* Error code may be E2BIG */
-       hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWAP ");
+       hddLog(LOGE, "hdd_IndicateScanResult: no space for SIOCGIWAP ");
        return -E2BIG;
    }
 
@@ -273,7 +273,7 @@
 
    if (last_event == current_event)
    { /* no space to add event */
-       hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWNAME");
+       hddLog( LOGE, "hdd_IndicateScanResult: no space for SIOCGIWNAME");
       /* Error code, may be E2BIG */
        return -E2BIG;
    }
@@ -292,7 +292,7 @@
 
    if (last_event == current_event)
    { /* no space to add event */
-       hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWFREQ");
+       hddLog( LOGE, "hdd_IndicateScanResult: no space for SIOCGIWFREQ");
        return -E2BIG;
    }
 
@@ -323,7 +323,7 @@
 
    if (last_event == current_event)
    { /* no space to add event */
-       hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWMODE");
+       hddLog(LOGE, "hdd_IndicateScanResult: no space for SIOCGIWMODE");
        return -E2BIG;
    }
    /* To extract SSID */
@@ -363,14 +363,14 @@
 
           if(last_event == current_event)
           { /* no space to add event */
-             hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWESSID");
+             hddLog( LOGE, "hdd_IndicateScanResult: no space for SIOCGIWESSID");
              return -E2BIG;
           }
        }
 
       if( hdd_GetWPARSNIEs( ( tANI_U8 *) descriptor->ieFields, ie_length, &last_event, &current_event, scanInfo )  < 0    )
       {
-          hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWESSID");
+          hddLog( LOGE, "hdd_IndicateScanResult: no space for SIOCGIWESSID");
           return -E2BIG;
       }
 
@@ -446,7 +446,7 @@
       {
           if (last_event == current_event)
           { /* no space to add event */
-              hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWRATE");
+              hddLog( LOGE, "hdd_IndicateScanResult: no space for SIOCGIWRATE");
               return -E2BIG;
           }
       }
@@ -473,7 +473,7 @@
       if(last_event == current_event)
       { /* no space to add event
                Error code, may be E2BIG */
-          hddLog( LOGW, "hdd_IndicateScanResult: no space for SIOCGIWENCODE");
+          hddLog( LOGE, "hdd_IndicateScanResult: no space for SIOCGIWENCODE");
           return -E2BIG;
       }
    }
@@ -508,7 +508,7 @@
 
    if(last_event == current_event)
    { /* no space to add event */
-       hddLog( LOGW, "hdd_IndicateScanResult: no space for IWEVQUAL");
+       hddLog( LOGE, "hdd_IndicateScanResult: no space for IWEVQUAL");
        return -E2BIG;
    }
 
@@ -523,7 +523,7 @@
                                          &event, custom);
    if(last_event == current_event)
    { /* no space to add event */
-      hddLog( LOGW, "hdd_IndicateScanResult: no space for IWEVCUSTOM (age)");
+      hddLog( LOGE, "hdd_IndicateScanResult: no space for IWEVCUSTOM (age)");
       return -E2BIG;
    }
 
diff --git a/CORE/HDD/src/wlan_hdd_tdls.c b/CORE/HDD/src/wlan_hdd_tdls.c
index 6b2db12..22eb036 100644
--- a/CORE/HDD/src/wlan_hdd_tdls.c
+++ b/CORE/HDD/src/wlan_hdd_tdls.c
@@ -1939,7 +1939,7 @@
 
     if ((NULL == pHddCtx) || (NULL == pHddTdlsCtx))
     {
-       VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
+       VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
                FL(" pHddCtx or  pHddTdlsCtx points to NULL"));
        return;
     }