diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2014-09-16 02:13:16 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-16 16:18:41 -0400 |
commit | 44b47a7d483297f753577ed23369fcdeb67aac5e (patch) | |
tree | 39fa401bd271c216ba604962fb117c2327d26243 /drivers/net/wireless/ath/ath9k/main.c | |
parent | 24a1936bda0aa1ccf95c63dd3042a970885aaf11 (diff) | |
download | lwn-44b47a7d483297f753577ed23369fcdeb67aac5e.tar.gz lwn-44b47a7d483297f753577ed23369fcdeb67aac5e.zip |
ath9k: initialize ath_node linked list
Initialize neighbor linked list used by dynack to compute ACK timeout
as the maximum STA ACK timeout
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 6969aba6ab81..3e485f7d88e6 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -345,12 +345,16 @@ static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, memset(&an->key_idx, 0, sizeof(an->key_idx)); ath_tx_node_init(sc, an); + + ath_dynack_node_init(sc->sc_ah, an); } static void ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta) { struct ath_node *an = (struct ath_node *)sta->drv_priv; ath_tx_node_cleanup(sc, an); + + ath_dynack_node_deinit(sc->sc_ah, an); } void ath9k_tasklet(unsigned long data) |