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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
e0f5c3ec20
commit
8e09eaace8
@@ -3281,6 +3281,8 @@ static int __wlan_hdd_cfg80211_handle_tsf_cmd(struct wiphy *wiphy,
|
|||||||
status = hdd_handle_tsf_dynamic_start(adapter, attr);
|
status = hdd_handle_tsf_dynamic_start(adapter, attr);
|
||||||
} else if (tsf_cmd == QCA_TSF_SYNC_STOP) {
|
} else if (tsf_cmd == QCA_TSF_SYNC_STOP) {
|
||||||
status = hdd_handle_tsf_dynamic_stop(adapter);
|
status = hdd_handle_tsf_dynamic_stop(adapter);
|
||||||
|
} else {
|
||||||
|
status = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
|
Reference in New Issue
Block a user