qcacmn: Fix compilation errors in mgmt txrx component
Fix compilation errors in mgmt txrx component in wlan_mgmt_txrx_mgmt_frame_tx function. Change-Id: Ie09fba5924778a7e774b896bef7849d1ac77b21f CRs-Fixed: 1103247
This commit is contained in:

committed by
qcabuildsw

parent
66f6a83b95
commit
c68d5a1acf
@@ -217,12 +217,10 @@ QDF_STATUS wlan_mgmt_txrx_mgmt_frame_tx(struct wlan_objmgr_peer *peer,
|
|||||||
struct wlan_objmgr_psoc *psoc;
|
struct wlan_objmgr_psoc *psoc;
|
||||||
struct mgmt_txrx_priv_context *txrx_ctx;
|
struct mgmt_txrx_priv_context *txrx_ctx;
|
||||||
struct wlan_objmgr_vdev *vdev;
|
struct wlan_objmgr_vdev *vdev;
|
||||||
struct wlan_objmgr_vdev_objmgr *vdev_obj;
|
|
||||||
|
|
||||||
vdev = wlan_peer_get_vdev(peer);
|
vdev = wlan_peer_get_vdev(peer);
|
||||||
if (!vdev) {
|
if (!vdev) {
|
||||||
mgmt_txrx_err("vdev unavailable for peer %p psoc %p",
|
mgmt_txrx_err("vdev unavailable for peer %p", peer);
|
||||||
peer, psoc);
|
|
||||||
return QDF_STATUS_E_NULL_VALUE;
|
return QDF_STATUS_E_NULL_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -250,7 +248,7 @@ QDF_STATUS wlan_mgmt_txrx_mgmt_frame_tx(struct wlan_objmgr_peer *peer,
|
|||||||
desc->tx_ota_cmpl_cb = tx_ota_comp_cb;
|
desc->tx_ota_cmpl_cb = tx_ota_comp_cb;
|
||||||
desc->tx_dwnld_cmpl_cb = tx_comp_cb;
|
desc->tx_dwnld_cmpl_cb = tx_comp_cb;
|
||||||
desc->peer = peer;
|
desc->peer = peer;
|
||||||
desc->vdev_id = vdev_obj->vdev_id;
|
desc->vdev_id = wlan_vdev_get_id(vdev);
|
||||||
desc->context = context;
|
desc->context = context;
|
||||||
|
|
||||||
if (!psoc->soc_cb.tx_ops.mgmt_txrx_tx_ops.mgmt_tx_send) {
|
if (!psoc->soc_cb.tx_ops.mgmt_txrx_tx_ops.mgmt_tx_send) {
|
||||||
|
Reference in New Issue
Block a user