aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r--drivers/net/wireless/libertas/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c
index fd67b770dd78..b600f2439b57 100644
--- a/drivers/net/wireless/libertas/debugfs.c
+++ b/drivers/net/wireless/libertas/debugfs.c
@@ -315,7 +315,7 @@ static ssize_t lbs_setuserscan(struct file *file,
315 315
316 lbs_scan_networks(priv, scan_cfg, 1); 316 lbs_scan_networks(priv, scan_cfg, 1);
317 wait_event_interruptible(priv->cmd_pending, 317 wait_event_interruptible(priv->cmd_pending,
318 priv->surpriseremoved || !priv->last_scanned_channel); 318 priv->surpriseremoved || !priv->scan_channel);
319 319
320 if (priv->surpriseremoved) 320 if (priv->surpriseremoved)
321 goto out_scan_cfg; 321 goto out_scan_cfg;