util.c (e38a017bf080d47376db340e94b9c2ffc47eb9b4) util.c (b34939b9836950d261610132853311054b507247)
1/*
2 * Copyright 2002-2005, Instant802 Networks, Inc.
3 * Copyright 2005-2006, Devicescape Software, Inc.
4 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
5 * Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
6 * Copyright 2013-2014 Intel Mobile Communications GmbH
7 * Copyright (C) 2015-2017 Intel Deutschland GmbH
8 *

--- 2098 unchanged lines hidden (view full) ---

2107 sched_scan_req)) {
2108 RCU_INIT_POINTER(local->sched_scan_sdata, NULL);
2109 RCU_INIT_POINTER(local->sched_scan_req, NULL);
2110 sched_scan_stopped = true;
2111 }
2112 mutex_unlock(&local->mtx);
2113
2114 if (sched_scan_stopped)
1/*
2 * Copyright 2002-2005, Instant802 Networks, Inc.
3 * Copyright 2005-2006, Devicescape Software, Inc.
4 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
5 * Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
6 * Copyright 2013-2014 Intel Mobile Communications GmbH
7 * Copyright (C) 2015-2017 Intel Deutschland GmbH
8 *

--- 2098 unchanged lines hidden (view full) ---

2107 sched_scan_req)) {
2108 RCU_INIT_POINTER(local->sched_scan_sdata, NULL);
2109 RCU_INIT_POINTER(local->sched_scan_req, NULL);
2110 sched_scan_stopped = true;
2111 }
2112 mutex_unlock(&local->mtx);
2113
2114 if (sched_scan_stopped)
2115 cfg80211_sched_scan_stopped_rtnl(local->hw.wiphy);
2115 cfg80211_sched_scan_stopped_rtnl(local->hw.wiphy, 0);
2116
2117 wake_up:
2118 if (local->in_reconfig) {
2119 local->in_reconfig = false;
2120 barrier();
2121
2122 /* Restart deferred ROCs */
2123 mutex_lock(&local->mtx);

--- 1359 unchanged lines hidden ---
2116
2117 wake_up:
2118 if (local->in_reconfig) {
2119 local->in_reconfig = false;
2120 barrier();
2121
2122 /* Restart deferred ROCs */
2123 mutex_lock(&local->mtx);

--- 1359 unchanged lines hidden ---