diff options
Diffstat (limited to 'net/mac80211/scan.c')
-rw-r--r-- | net/mac80211/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index a0a938145dcc..a9bb6eb8c3e0 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c | |||
@@ -1094,7 +1094,7 @@ int ieee80211_request_sched_scan_stop(struct ieee80211_sub_if_data *sdata) | |||
1094 | if (rcu_access_pointer(local->sched_scan_sdata)) { | 1094 | if (rcu_access_pointer(local->sched_scan_sdata)) { |
1095 | ret = drv_sched_scan_stop(local, sdata); | 1095 | ret = drv_sched_scan_stop(local, sdata); |
1096 | if (!ret) | 1096 | if (!ret) |
1097 | rcu_assign_pointer(local->sched_scan_sdata, NULL); | 1097 | RCU_INIT_POINTER(local->sched_scan_sdata, NULL); |
1098 | } | 1098 | } |
1099 | out: | 1099 | out: |
1100 | mutex_unlock(&local->mtx); | 1100 | mutex_unlock(&local->mtx); |