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
@@ -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)