summaryrefslogtreecommitdiff
path: root/drivers/staging/wfx/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/wfx/scan.c')
-rw-r--r--drivers/staging/wfx/scan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/wfx/scan.c b/drivers/staging/wfx/scan.c
index cdccb67cb30e..397fe511d34a 100644
--- a/drivers/staging/wfx/scan.c
+++ b/drivers/staging/wfx/scan.c
@@ -44,7 +44,6 @@ static int wfx_scan_start(struct wfx_vif *wvif, struct wfx_scan_params *scan)
tmo += scan->scan_req.num_of_channels *
((20 * (scan->scan_req.max_channel_time)) + 10);
atomic_set(&wvif->scan.in_progress, 1);
- atomic_set(&wvif->wdev->scan_in_progress, 1);
schedule_delayed_work(&wvif->scan.timeout, msecs_to_jiffies(tmo));
hif_scan(wvif, scan);
@@ -232,8 +231,6 @@ fail:
static void wfx_scan_complete(struct wfx_vif *wvif)
{
up(&wvif->scan.lock);
- atomic_set(&wvif->wdev->scan_in_progress, 0);
-
wfx_scan_work(&wvif->scan.work);
}