aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/wil6210.h
diff options
context:
space:
mode:
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>2015-01-25 03:52:43 -0500
committerKalle Valo <kvalo@codeaurora.org>2015-01-29 02:53:32 -0500
commitc5e96c91fa8f98ddceac16f410fc741648585401 (patch)
treeb32812cac3c7230aa2700dfb445d2788967b151a /drivers/net/wireless/ath/wil6210/wil6210.h
parent8c6796758f0abd8ee2b4d7e8c6ca5f7adf737ee6 (diff)
wil6210: fix timing of netif_carrier_on indication
netif_carrier_on indication was too late. In case Rx packet received before netif_carrier_on indication, upper layers could not send Tx packet back. The fix is to indicate netif_carrier_on earlier: for STA, indicate netif_carrier_on when association starts. for AP/PCP, indicate netif_carrier_on upon starting AP/PCP. Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com> Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wil6210.h')
-rw-r--r--drivers/net/wireless/ath/wil6210/wil6210.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wil6210.h b/drivers/net/wireless/ath/wil6210/wil6210.h
index da3fe7853d63..b4404e71cfca 100644
--- a/drivers/net/wireless/ath/wil6210/wil6210.h
+++ b/drivers/net/wireless/ath/wil6210/wil6210.h
@@ -649,8 +649,6 @@ void wil_priv_deinit(struct wil6210_priv *wil);
649int wil_reset(struct wil6210_priv *wil); 649int wil_reset(struct wil6210_priv *wil);
650void wil_fw_error_recovery(struct wil6210_priv *wil); 650void wil_fw_error_recovery(struct wil6210_priv *wil);
651void wil_set_recovery_state(struct wil6210_priv *wil, int state); 651void wil_set_recovery_state(struct wil6210_priv *wil, int state);
652void wil_link_on(struct wil6210_priv *wil);
653void wil_link_off(struct wil6210_priv *wil);
654int wil_up(struct wil6210_priv *wil); 652int wil_up(struct wil6210_priv *wil);
655int __wil_up(struct wil6210_priv *wil); 653int __wil_up(struct wil6210_priv *wil);
656int wil_down(struct wil6210_priv *wil); 654int wil_down(struct wil6210_priv *wil);