diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 248696aca1..04a5deb2ee 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -8911,10 +8911,8 @@ static int hdd_config_tx_rx_nss(struct hdd_adapter *adapter, struct nlattr *rx_attr = tb[QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS]; - if (!tx_attr && !rx_attr) { - hdd_err("Missing TX and RX attributes"); - return -EINVAL; - } + if (!tx_attr && !rx_attr) + return 0; /* if one is present, both must be present */ if (!tx_attr || !rx_attr) {