Commit 5b3d71d9 authored by Ron Rindjunsky's avatar Ron Rindjunsky Committed by David S. Miller
Browse files

mac80211: A-MPDU Rx stop aggregation on proper dev

This patch adds a check to insure that Rx A-MPDU will be stopped only
for the proper device.

Signed-off-by: default avatarRon Rindjunsky <>
Acked-by: default avatarJohannes Berg <>
Signed-off-by: default avatarJohn W. Linville <>
parent 0f7054e3
...@@ -299,9 +299,11 @@ static int ieee80211_stop(struct net_device *dev) ...@@ -299,9 +299,11 @@ static int ieee80211_stop(struct net_device *dev)
sdata = IEEE80211_DEV_TO_SUB_IF(dev); sdata = IEEE80211_DEV_TO_SUB_IF(dev);
list_for_each_entry(sta, &local->sta_list, list) { list_for_each_entry(sta, &local->sta_list, list) {
for (i = 0; i < STA_TID_NUM; i++) if (sta->dev == dev)
ieee80211_sta_stop_rx_ba_session(sta->dev, sta->addr, for (i = 0; i < STA_TID_NUM; i++)
i, WLAN_BACK_RECIPIENT, ieee80211_sta_stop_rx_ba_session(sta->dev,
sta->addr, i,
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment