diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/txrx.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/txrx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wireless/ath/ath6kl/txrx.c index cada1977f430..c54f1a9989fa 100644 --- a/drivers/net/wireless/ath/ath6kl/txrx.c +++ b/drivers/net/wireless/ath/ath6kl/txrx.c | |||
@@ -118,6 +118,7 @@ static bool ath6kl_powersave_ap(struct ath6kl *ar, struct sk_buff *skb, | |||
118 | */ | 118 | */ |
119 | if (is_mcastq_empty) | 119 | if (is_mcastq_empty) |
120 | ath6kl_wmi_set_pvb_cmd(ar->wmi, | 120 | ath6kl_wmi_set_pvb_cmd(ar->wmi, |
121 | vif->fw_vif_idx, | ||
121 | MCAST_AID, 1); | 122 | MCAST_AID, 1); |
122 | 123 | ||
123 | ps_queued = true; | 124 | ps_queued = true; |
@@ -156,6 +157,7 @@ static bool ath6kl_powersave_ap(struct ath6kl *ar, struct sk_buff *skb, | |||
156 | */ | 157 | */ |
157 | if (is_psq_empty) | 158 | if (is_psq_empty) |
158 | ath6kl_wmi_set_pvb_cmd(ar->wmi, | 159 | ath6kl_wmi_set_pvb_cmd(ar->wmi, |
160 | vif->fw_vif_idx, | ||
159 | conn->aid, 1); | 161 | conn->aid, 1); |
160 | 162 | ||
161 | ps_queued = true; | 163 | ps_queued = true; |
@@ -1176,7 +1178,8 @@ void ath6kl_rx(struct htc_target *target, struct htc_packet *packet) | |||
1176 | } | 1178 | } |
1177 | spin_unlock_bh(&conn->psq_lock); | 1179 | spin_unlock_bh(&conn->psq_lock); |
1178 | /* Clear the PVB for this STA */ | 1180 | /* Clear the PVB for this STA */ |
1179 | ath6kl_wmi_set_pvb_cmd(ar->wmi, conn->aid, 0); | 1181 | ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, |
1182 | conn->aid, 0); | ||
1180 | } | 1183 | } |
1181 | } | 1184 | } |
1182 | 1185 | ||