Browse Source

qcacld-3.0: Use mac_handle_t in wlan_hdd_tsf

Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_tsf to use the new naming.

Change-Id: I180e9a6347e5bccea41f9c14612d888711aa6485
CRs-Fixed: 2262587
Jeff Johnson 6 years ago
parent
commit
ad278e62c3
1 changed files with 5 additions and 5 deletions
  1. 5 5
      core/hdd/src/wlan_hdd_tsf.c

+ 5 - 5
core/hdd/src/wlan_hdd_tsf.c

@@ -1268,7 +1268,7 @@ int wlan_hdd_cfg80211_handle_tsf_cmd(struct wiphy *wiphy,
  */
 void wlan_hdd_tsf_init(struct hdd_context *hdd_ctx)
 {
-	QDF_STATUS hal_status;
+	QDF_STATUS status;
 
 	if (!hdd_ctx)
 		return;
@@ -1281,10 +1281,10 @@ void wlan_hdd_tsf_init(struct hdd_context *hdd_ctx)
 	if (hdd_ctx->config->tsf_gpio_pin == TSF_GPIO_PIN_INVALID)
 		goto fail;
 
-	hal_status = sme_set_tsf_gpio(hdd_ctx->hHal,
-				      hdd_ctx->config->tsf_gpio_pin);
-	if (QDF_STATUS_SUCCESS != hal_status) {
-		hdd_err("set tsf GPIO failed, status: %d", hal_status);
+	status = sme_set_tsf_gpio(hdd_ctx->mac_handle,
+				  hdd_ctx->config->tsf_gpio_pin);
+	if (QDF_STATUS_SUCCESS != status) {
+		hdd_err("set tsf GPIO failed, status: %d", status);
 		goto fail;
 	}