diff --git a/core/wma/src/wma_data.c b/core/wma/src/wma_data.c index b3fdcb071b2a..8f8a4d9d1c0e 100644 --- a/core/wma/src/wma_data.c +++ b/core/wma/src/wma_data.c @@ -781,7 +781,7 @@ void wma_set_bss_rate_flags(struct wma_txrx_node *iface, */ int32_t wmi_unified_send_txbf(tp_wma_handle wma, tpAddStaParams params) { - wmi_vdev_txbf_en txbf_en; + wmi_vdev_txbf_en txbf_en = {0}; /* This is set when Other partner is Bformer * and we are capable bformee(enabled both in ini and fw) @@ -789,7 +789,6 @@ int32_t wmi_unified_send_txbf(tp_wma_handle wma, tpAddStaParams params) txbf_en.sutxbfee = params->vhtTxBFCapable; txbf_en.mutxbfee = params->vhtTxMUBformeeCapable; txbf_en.sutxbfer = params->enable_su_tx_bformer; - txbf_en.mutxbfer = 0; /* When MU TxBfee is set, SU TxBfee must be set by default */ if (txbf_en.mutxbfee)