aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wfx/sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/wfx/sta.c')
-rw-r--r--drivers/staging/wfx/sta.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c
index 7c9e93f52993..bdc15554958c 100644
--- a/drivers/staging/wfx/sta.c
+++ b/drivers/staging/wfx/sta.c
@@ -985,18 +985,12 @@ int wfx_ampdu_action(struct ieee80211_hw *hw,
return -ENOTSUPP;
}
-void wfx_suspend_resume(struct wfx_vif *wvif,
- const struct hif_ind_suspend_resume_tx *arg)
+void wfx_suspend_resume_mc(struct wfx_vif *wvif, enum sta_notify_cmd notify_cmd)
{
bool cancel_tmo = false;
- if (!arg->suspend_resume_flags.bc_mc_only) {
- dev_warn(wvif->wdev->dev, "unsupported suspend/resume notification\n");
- return;
- }
-
spin_lock_bh(&wvif->ps_state_lock);
- if (!arg->suspend_resume_flags.resume)
+ if (notify_cmd == STA_NOTIFY_SLEEP)
wvif->mcast_tx = false;
else
wvif->mcast_tx = wvif->aid0_bit_set &&