aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/txrx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/txrx.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/txrx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wireless/ath/ath6kl/txrx.c
index 62c12102e146..a3dc6943c7f7 100644
--- a/drivers/net/wireless/ath/ath6kl/txrx.c
+++ b/drivers/net/wireless/ath/ath6kl/txrx.c
@@ -1674,7 +1674,8 @@ void aggr_recv_addba_req_evt(struct ath6kl_vif *vif, u8 tid_mux, u16 seq_no,
1674 rxtid->aggr = true; 1674 rxtid->aggr = true;
1675} 1675}
1676 1676
1677void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info_conn *aggr_conn) 1677void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info,
1678 struct aggr_info_conn *aggr_conn)
1678{ 1679{
1679 struct rxtid *rxtid; 1680 struct rxtid *rxtid;
1680 u8 i; 1681 u8 i;
@@ -1684,7 +1685,7 @@ void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info_conn *aggr_conn)
1684 init_timer(&aggr_conn->timer); 1685 init_timer(&aggr_conn->timer);
1685 aggr_conn->timer.function = aggr_timeout; 1686 aggr_conn->timer.function = aggr_timeout;
1686 aggr_conn->timer.data = (unsigned long) aggr_conn; 1687 aggr_conn->timer.data = (unsigned long) aggr_conn;
1687 aggr_conn->aggr_info = vif->aggr_cntxt; 1688 aggr_conn->aggr_info = aggr_info;
1688 1689
1689 aggr_conn->timer_scheduled = false; 1690 aggr_conn->timer_scheduled = false;
1690 1691
@@ -1716,7 +1717,7 @@ struct aggr_info *aggr_init(struct ath6kl_vif *vif)
1716 return NULL; 1717 return NULL;
1717 } 1718 }
1718 1719
1719 aggr_conn_init(vif, p_aggr->aggr_conn); 1720 aggr_conn_init(vif, p_aggr, p_aggr->aggr_conn);
1720 1721
1721 skb_queue_head_init(&p_aggr->rx_amsdu_freeq); 1722 skb_queue_head_init(&p_aggr->rx_amsdu_freeq);
1722 ath6kl_alloc_netbufs(&p_aggr->rx_amsdu_freeq, AGGR_NUM_OF_FREE_NETBUFS); 1723 ath6kl_alloc_netbufs(&p_aggr->rx_amsdu_freeq, AGGR_NUM_OF_FREE_NETBUFS);