qcacld-3.0: Send WLAN off event to WLS at the end of WLAN off steps

send WLAN off event to WLS at the end of WLAN off steps
to make sure WLAN is really off when WLS calls 'glink deinit'.

Change-Id: I29e15d51ec306071fc9f5ff7e3565c75814944e8
CRs-Fixed: 985226
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 60ded03..30e2c6b 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -4570,6 +4570,8 @@
 	wiphy_unregister(wiphy);
 	wlan_hdd_cfg80211_deinit(wiphy);
 
+	wlan_hdd_send_status_pkg(NULL, NULL, 0, 0);
+
 	hdd_exit_netlink_services(hdd_ctx);
 	mutex_destroy(&hdd_ctx->iface_change_lock);
 	hdd_context_destroy(hdd_ctx);
@@ -4591,10 +4593,6 @@
 	/* Check IPA HW Pipe shutdown */
 	hdd_ipa_uc_force_pipe_shutdown(hdd_ctx);
 
-#ifdef WLAN_FEATURE_LPSS
-	wlan_hdd_send_status_pkg(NULL, NULL, 0, 0);
-#endif
-
 	memdump_deinit();
 
 	/* Do all the cleanup before deregistering the driver */