diff options
author | grm34 <jerem.pardo@tutanota.com> | 2021-06-09 19:59:36 +0200 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2024-02-27 11:14:22 +0000 |
commit | 0c119ee3498086dbac0fe0592c2f16efc4a3b2c6 (patch) | |
tree | 2662b31efc350b0a9a985b53a01481b728d53acc /drivers | |
parent | d74478ac4a08da82baa7495caa6cc08c62e4c2a4 (diff) |
Fix ATH9K Naming Conflict with htc_connect_service
Signed-off-by: darkmaster @grm34 NetErnels Team
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_hst.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_hst.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/wmi.c | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index e21df6eae634..8274fb8caba5 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -134,7 +134,7 @@ static inline int ath9k_htc_connect_svc(struct ath9k_htc_priv *priv, req.ep_callbacks.rx = ath9k_htc_rxep; req.ep_callbacks.tx = tx; - return htc_connect_service(priv->htc, &req, ep_id); + return htc_connect_service_hst(priv->htc, &req, ep_id); } static int ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid, diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index e32e35b59829..7036d7410a17 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c @@ -226,7 +226,7 @@ void ath9k_htc_reset(struct ath9k_htc_priv *priv) WMI_CMD_BUF(WMI_SET_MODE_CMDID, &htc_mode); WMI_CMD(WMI_ENABLE_INTR_CMDID); - htc_start(priv->htc); + htc_start_hst(priv->htc); ath9k_htc_vif_reconfig(priv); ieee80211_wake_queues(priv->hw); @@ -305,7 +305,7 @@ static int ath9k_htc_set_channel(struct ath9k_htc_priv *priv, if (ret) goto err; - htc_start(priv->htc); + htc_start_hst(priv->htc); if (!test_bit(ATH_OP_SCANNING, &common->op_flags) && !(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) @@ -958,7 +958,7 @@ static int ath9k_htc_start(struct ieee80211_hw *hw) "Failed to update capability in target\n"); clear_bit(ATH_OP_INVALID, &common->op_flags); - htc_start(priv->htc); + htc_start_hst(priv->htc); spin_lock_bh(&priv->tx.tx_lock); priv->tx.flags &= ~ATH9K_HTC_OP_TX_QUEUES_STOP; diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index 6a9c9b4ef2c9..f4c5607cd013 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c @@ -543,7 +543,7 @@ void ath9k_htc_tx_drain(struct ath9k_htc_priv *priv) * Ensure that all pending TX frames are flushed, * and that the TX completion/failed tasklets is killed. */ - htc_stop(priv->htc); + htc_stop_hst(priv->htc); tasklet_kill(&priv->wmi->wmi_event_tasklet); tasklet_kill(&priv->tx_failed_tasklet); diff --git a/drivers/net/wireless/ath/ath9k/htc_hst.c b/drivers/net/wireless/ath/ath9k/htc_hst.c index 625823e45d8f..1d0031f82f88 100644 --- a/drivers/net/wireless/ath/ath9k/htc_hst.c +++ b/drivers/net/wireless/ath/ath9k/htc_hst.c @@ -236,7 +236,7 @@ int htc_init(struct htc_target *target) return htc_setup_complete(target); } -int htc_connect_service(struct htc_target *target, +int htc_connect_service_hst(struct htc_target *target, struct htc_service_connreq *service_connreq, enum htc_endpoint_id *conn_rsp_epid) { @@ -311,12 +311,12 @@ int htc_send_epid(struct htc_target *target, struct sk_buff *skb, return htc_issue_send(target, skb, skb->len, 0, epid); } -void htc_stop(struct htc_target *target) +void htc_stop_hst(struct htc_target *target) { target->hif->stop(target->hif_dev); } -void htc_start(struct htc_target *target) +void htc_start_hst(struct htc_target *target) { target->hif->start(target->hif_dev); } diff --git a/drivers/net/wireless/ath/ath9k/htc_hst.h b/drivers/net/wireless/ath/ath9k/htc_hst.h index 06474ccc7696..0bd3e6b7199b 100644 --- a/drivers/net/wireless/ath/ath9k/htc_hst.h +++ b/drivers/net/wireless/ath/ath9k/htc_hst.h @@ -203,14 +203,14 @@ struct htc_comp_msg { } __packed; int htc_init(struct htc_target *target); -int htc_connect_service(struct htc_target *target, +int htc_connect_service_hst(struct htc_target *target, struct htc_service_connreq *service_connreq, enum htc_endpoint_id *conn_rsp_eid); int htc_send(struct htc_target *target, struct sk_buff *skb); int htc_send_epid(struct htc_target *target, struct sk_buff *skb, enum htc_endpoint_id epid); -void htc_stop(struct htc_target *target); -void htc_start(struct htc_target *target); +void htc_stop_hst(struct htc_target *target); +void htc_start_hst(struct htc_target *target); void htc_sta_drain(struct htc_target *target, u8 idx); void ath9k_htc_rx_msg(struct htc_target *htc_handle, diff --git a/drivers/net/wireless/ath/ath9k/wmi.c b/drivers/net/wireless/ath/ath9k/wmi.c index f100533eb7ad..6041820c12d6 100644 --- a/drivers/net/wireless/ath/ath9k/wmi.c +++ b/drivers/net/wireless/ath/ath9k/wmi.c @@ -264,7 +264,7 @@ int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, connect.ep_callbacks.rx = ath9k_wmi_ctrl_rx; connect.service_id = WMI_CONTROL_SVC; - ret = htc_connect_service(htc, &connect, &wmi->ctrl_epid); + ret = htc_connect_service_hst(htc, &connect, &wmi->ctrl_epid); if (ret) return ret; |