qcacld-3.0: Changes for mgmt txrx component to interact with southbound

Register lmac if mgmt txrx tx ops statically to interact with southbound
interface inside wma_register_tx_ops_handler.

Change-Id: I4f59f69ed0e8b702b8d3c93e4b732891d50c1555
CRs-Fixed: 1103247
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c
index d101707..448f8db 100644
--- a/core/wma/src/wma_main.c
+++ b/core/wma/src/wma_main.c
@@ -1817,6 +1817,14 @@
 	 * functions which are used to send wmi command to target.
 	 */
 
+	if (!tx_ops) {
+		WMA_LOGE("%s: pointer to lmac if tx ops is NULL", __func__);
+		return QDF_STATUS_E_INVAL;
+	}
+
+	/* mgmt_txrx component's tx ops */
+	tx_ops->mgmt_txrx_tx_ops.mgmt_tx_send = wma_mgmt_unified_cmd_send;
+
 	return QDF_STATUS_SUCCESS;
 }