|
@@ -2676,7 +2676,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
|
|
|
mgmt_param.use_6mbps = use_6mbps;
|
|
|
mgmt_param.tx_type = tx_frm_index;
|
|
|
mgmt_param.peer_rssi = peer_rssi;
|
|
|
- if (wlan_vdev_mlme_get_opmode(iface->vdev) == QDF_STA_MODE &&
|
|
|
+ if (iface && wlan_vdev_mlme_get_opmode(iface->vdev) == QDF_STA_MODE &&
|
|
|
wlan_vdev_mlme_is_mlo_vdev(iface->vdev) &&
|
|
|
frmType == TXRX_FRM_802_11_MGMT &&
|
|
|
pFc->subType != SIR_MAC_MGMT_PROBE_REQ &&
|