wlan: fix ioctl interfaces to get driver/firmware version

The legacy private ioctls used to retrieve the host driver version,
firmware version, and hardware version are not working.  Modify the
implementation of hdd_wlan_get_version() to fully support WCNSS
version reporting.  Remove legacy sme_GetFwVersion() that is no longer
used.  Remove conditional compilation that is no longer necessary
since we only support an integrated WLAN solution with this driver.

Change-Id: I8b2313ac75b5c455dd062570363eeb798700731b
CRs-Fixed: 436434
diff --git a/CORE/HDD/src/wlan_hdd_hostapd.c b/CORE/HDD/src/wlan_hdd_hostapd.c
index 0e442a4..cde376d 100644
--- a/CORE/HDD/src/wlan_hdd_hostapd.c
+++ b/CORE/HDD/src/wlan_hdd_hostapd.c
@@ -2419,20 +2419,14 @@
 
 static int iw_softap_version(struct net_device *dev,
         struct iw_request_info *info,
-        union iwreq_data *wrqu, 
+        union iwreq_data *wrqu,
         char *extra)
 {
-#ifdef FEATURE_WLAN_NON_INTEGRATED_SOC
     hdd_adapter_t *pHostapdAdapter = (netdev_priv(dev));
-    VOS_STATUS status;
+
     ENTER();
-    status = hdd_wlan_get_version(pHostapdAdapter, wrqu, extra);
-    if ( !VOS_IS_STATUS_SUCCESS( status ) ) {
-       hddLog(VOS_TRACE_LEVEL_ERROR, "%s Failed!!!\n",__func__);
-       return -EINVAL;
-    }
+    hdd_wlan_get_version(pHostapdAdapter, wrqu, extra);
     EXIT();
-#endif//TODO need to handle in prima
     return 0;
 }