Commit 686b9cb9 authored by Committed by John W. LinvilleBrowse files
mac80211/ath9k: Support AMPDU with multiple VIFs.
The old ieee80211_find_sta_by_hw method didn't properly find VIFS when there was more than one per AP. This caused AMPDU logic in ath9k to get the wrong VIF when trying to account for transmitted SKBs. This patch changes ieee80211_find_sta_by_hw to take a localaddr argument to distinguish between VIFs with the same AP but different local addresses. The method name is changed to ieee80211_find_sta_by_ifaddr. Signed-off-by: Ben Greear <email@example.com> Acked-by: Johannes Berg <firstname.lastname@example.org> Signed-off-by: John W. Linville <email@example.com>