aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index a6d191f2a0fe..a9ddaf63ee14 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1526,6 +1526,8 @@ int __ieee80211_request_smps(struct ieee80211_sub_if_data *sdata,
1526 enum ieee80211_smps_mode old_req; 1526 enum ieee80211_smps_mode old_req;
1527 int err; 1527 int err;
1528 1528
1529 lockdep_assert_held(&sdata->u.mgd.mtx);
1530
1529 old_req = sdata->u.mgd.req_smps; 1531 old_req = sdata->u.mgd.req_smps;
1530 sdata->u.mgd.req_smps = smps_mode; 1532 sdata->u.mgd.req_smps = smps_mode;
1531 1533