diff options
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index f528962b13e3..a7ef0289fbdb 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -336,7 +336,8 @@ static int ieee80211_stop(struct net_device *dev) | |||
336 | 336 | ||
337 | list_for_each_entry_rcu(sta, &local->sta_list, list) { | 337 | list_for_each_entry_rcu(sta, &local->sta_list, list) { |
338 | if (sta->sdata == sdata) | 338 | if (sta->sdata == sdata) |
339 | ieee80211_sta_tear_down_BA_sessions(sdata, sta->addr); | 339 | ieee80211_sta_tear_down_BA_sessions(sdata, |
340 | sta->sta.addr); | ||
340 | } | 341 | } |
341 | 342 | ||
342 | rcu_read_unlock(); | 343 | rcu_read_unlock(); |