qcacld-3.0: Fix failure check to process QCA_TSF_GET command

Reset return value in wlan_hdd_cfg80211_handle_tsf_cmd
function so that QCA_TSF_GET command gets process.

Change-Id: Ia81d5e3920a6f707edcbdb05583f94798534b721
CRs-Fixed: 3353246
Este commit está contenido en:
Sai Kumar Kunchala
2022-12-05 17:36:14 +05:30
cometido por Madan Koyyalamudi
padre e0f5c3ec20
commit 8e09eaace8

Ver fichero

@@ -3281,6 +3281,8 @@ static int __wlan_hdd_cfg80211_handle_tsf_cmd(struct wiphy *wiphy,
status = hdd_handle_tsf_dynamic_start(adapter, attr);
} else if (tsf_cmd == QCA_TSF_SYNC_STOP) {
status = hdd_handle_tsf_dynamic_stop(adapter);
} else {
status = 0;
}
if (status < 0)