Skip to content

Commit f1713d1

Browse files
Re4sonMayankgaj
authored andcommitted
Resolve conflict with wcn39xx driver
Signed-off-by: Re4son <Re4son@users.noreply.github.com>
1 parent af5c9c0 commit f1713d1

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

drivers/net/wireless/ath/ath9k/htc_drv_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static inline int ath9k_htc_connect_svc(struct ath9k_htc_priv *priv,
134134
req.ep_callbacks.rx = ath9k_htc_rxep;
135135
req.ep_callbacks.tx = tx;
136136

137-
return htc_connect_service(priv->htc, &req, ep_id);
137+
return htc_connect_service_hst(priv->htc, &req, ep_id);
138138
}
139139

140140
static int ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid,

drivers/net/wireless/ath/ath9k/htc_drv_main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void ath9k_htc_reset(struct ath9k_htc_priv *priv)
226226
WMI_CMD_BUF(WMI_SET_MODE_CMDID, &htc_mode);
227227

228228
WMI_CMD(WMI_ENABLE_INTR_CMDID);
229-
htc_start(priv->htc);
229+
htc_start_hst(priv->htc);
230230
ath9k_htc_vif_reconfig(priv);
231231
ieee80211_wake_queues(priv->hw);
232232

@@ -302,7 +302,7 @@ static int ath9k_htc_set_channel(struct ath9k_htc_priv *priv,
302302
if (ret)
303303
goto err;
304304

305-
htc_start(priv->htc);
305+
htc_start_hst(priv->htc);
306306

307307
if (!test_bit(ATH_OP_SCANNING, &common->op_flags) &&
308308
!(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL))
@@ -955,7 +955,7 @@ static int ath9k_htc_start(struct ieee80211_hw *hw)
955955
"Failed to update capability in target\n");
956956

957957
clear_bit(ATH_OP_INVALID, &common->op_flags);
958-
htc_start(priv->htc);
958+
htc_start_hst(priv->htc);
959959

960960
spin_lock_bh(&priv->tx.tx_lock);
961961
priv->tx.flags &= ~ATH9K_HTC_OP_TX_QUEUES_STOP;

drivers/net/wireless/ath/ath9k/htc_drv_txrx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ void ath9k_htc_tx_drain(struct ath9k_htc_priv *priv)
543543
* Ensure that all pending TX frames are flushed,
544544
* and that the TX completion/failed tasklets is killed.
545545
*/
546-
htc_stop(priv->htc);
546+
htc_stop_hst(priv->htc);
547547
tasklet_kill(&priv->wmi->wmi_event_tasklet);
548548
tasklet_kill(&priv->tx_failed_tasklet);
549549

drivers/net/wireless/ath/ath9k/htc_hst.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ int htc_init(struct htc_target *target)
233233
return htc_setup_complete(target);
234234
}
235235

236-
int htc_connect_service(struct htc_target *target,
236+
int htc_connect_service_hst(struct htc_target *target,
237237
struct htc_service_connreq *service_connreq,
238238
enum htc_endpoint_id *conn_rsp_epid)
239239
{
@@ -307,12 +307,12 @@ int htc_send_epid(struct htc_target *target, struct sk_buff *skb,
307307
return htc_issue_send(target, skb, skb->len, 0, epid);
308308
}
309309

310-
void htc_stop(struct htc_target *target)
310+
void htc_stop_hst(struct htc_target *target)
311311
{
312312
target->hif->stop(target->hif_dev);
313313
}
314314

315-
void htc_start(struct htc_target *target)
315+
void htc_start_hst(struct htc_target *target)
316316
{
317317
target->hif->start(target->hif_dev);
318318
}

drivers/net/wireless/ath/ath9k/htc_hst.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ struct htc_comp_msg {
203203
} __packed;
204204

205205
int htc_init(struct htc_target *target);
206-
int htc_connect_service(struct htc_target *target,
206+
int htc_connect_service_hst(struct htc_target *target,
207207
struct htc_service_connreq *service_connreq,
208208
enum htc_endpoint_id *conn_rsp_eid);
209209
int htc_send(struct htc_target *target, struct sk_buff *skb);
210210
int htc_send_epid(struct htc_target *target, struct sk_buff *skb,
211211
enum htc_endpoint_id epid);
212-
void htc_stop(struct htc_target *target);
213-
void htc_start(struct htc_target *target);
212+
void htc_stop_hst(struct htc_target *target);
213+
void htc_start_hst(struct htc_target *target);
214214
void htc_sta_drain(struct htc_target *target, u8 idx);
215215

216216
void ath9k_htc_rx_msg(struct htc_target *htc_handle,

drivers/net/wireless/ath/ath9k/wmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
264264
connect.ep_callbacks.rx = ath9k_wmi_ctrl_rx;
265265
connect.service_id = WMI_CONTROL_SVC;
266266

267-
ret = htc_connect_service(htc, &connect, &wmi->ctrl_epid);
267+
ret = htc_connect_service_hst(htc, &connect, &wmi->ctrl_epid);
268268
if (ret)
269269
return ret;
270270

0 commit comments

Comments
 (0)