]> Pileus Git - ~andy/linux/blobdiff - net/mac80211/pm.c
Merge branch 'next' into for-linus
[~andy/linux] / net / mac80211 / pm.c
index 6326d3439861e7448dec7a2f1cb08dee8d10988e..9ee7164b207c23017eba9b9fc064eb1ab0248537 100644 (file)
@@ -42,7 +42,7 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
        if (hw->flags & IEEE80211_HW_AMPDU_AGGREGATION) {
                mutex_lock(&local->sta_mtx);
                list_for_each_entry(sta, &local->sta_list, list) {
-                       set_sta_flags(sta, WLAN_STA_BLOCK_BA);
+                       set_sta_flag(sta, WLAN_STA_BLOCK_BA);
                        ieee80211_sta_tear_down_BA_sessions(sta, true);
                }
                mutex_unlock(&local->sta_mtx);