diff options
author | Dedy Lansky <qca_dlansky@qca.qualcomm.com> | 2015-01-25 03:52:43 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-29 02:53:32 -0500 |
commit | c5e96c91fa8f98ddceac16f410fc741648585401 (patch) | |
tree | b32812cac3c7230aa2700dfb445d2788967b151a /drivers/net/wireless/ath/wil6210/wil6210.h | |
parent | 8c6796758f0abd8ee2b4d7e8c6ca5f7adf737ee6 (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.h | 2 |
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); | |||
649 | int wil_reset(struct wil6210_priv *wil); | 649 | int wil_reset(struct wil6210_priv *wil); |
650 | void wil_fw_error_recovery(struct wil6210_priv *wil); | 650 | void wil_fw_error_recovery(struct wil6210_priv *wil); |
651 | void wil_set_recovery_state(struct wil6210_priv *wil, int state); | 651 | void wil_set_recovery_state(struct wil6210_priv *wil, int state); |
652 | void wil_link_on(struct wil6210_priv *wil); | ||
653 | void wil_link_off(struct wil6210_priv *wil); | ||
654 | int wil_up(struct wil6210_priv *wil); | 652 | int wil_up(struct wil6210_priv *wil); |
655 | int __wil_up(struct wil6210_priv *wil); | 653 | int __wil_up(struct wil6210_priv *wil); |
656 | int wil_down(struct wil6210_priv *wil); | 654 | int wil_down(struct wil6210_priv *wil); |